Revert "Session-based auth for bookmarklet, part 1"
This reverts commit 62e4fcdef0
.
This commit is contained in:
parent
62e4fcdef0
commit
ed5d1aaee8
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ Zotero.Translate.ItemSaver.prototype = {
|
||||||
newItems.push(Zotero.Utilities.itemToServerJSON(items[i]));
|
newItems.push(Zotero.Utilities.itemToServerJSON(items[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
var url = 'users/%%USERID%%/items';
|
var url = 'users/%%USERID%%/items?key=%%APIKEY%%';
|
||||||
var payload = JSON.stringify({"items":newItems}, null, "\t")
|
var payload = JSON.stringify({"items":newItems}, null, "\t")
|
||||||
|
|
||||||
Zotero.OAuth.doAuthenticatedPost(url, payload, function(status) {
|
Zotero.OAuth.doAuthenticatedPost(url, payload, function(status) {
|
||||||
|
|
Loading…
Reference in a new issue