www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ed5d1aaee8272cbaae300eeccb27c981a9f3254a
parent 62e4fcdef09c25a67fbcc4101925a6e2c8715267
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun, 18 Mar 2012 17:26:01 -0400

Revert "Session-based auth for bookmarklet, part 1"

This reverts commit 62e4fcdef09c25a67fbcc4101925a6e2c8715267.

Diffstat:
Mchrome/content/zotero/xpcom/connector/translate_item.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/connector/translate_item.js b/chrome/content/zotero/xpcom/connector/translate_item.js @@ -72,7 +72,7 @@ Zotero.Translate.ItemSaver.prototype = { 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") Zotero.OAuth.doAuthenticatedPost(url, payload, function(status) {