www

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

commit 62e4fcdef09c25a67fbcc4101925a6e2c8715267
parent 95d2146b31c2228f7080187e2ee65c584b8ec177
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun, 18 Mar 2012 17:25:23 -0400

Session-based auth for bookmarklet, part 1

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?key=%%APIKEY%%'; + var url = 'users/%%USERID%%/items'; var payload = JSON.stringify({"items":newItems}, null, "\t") Zotero.OAuth.doAuthenticatedPost(url, payload, function(status) {