www

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

commit 449e90f36bcece55c54c2d520a2df3c2c07edabb
parent 32ce4e04bc8cd738b10ce47dc8ca92c5ab990450
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun, 18 Mar 2012 17:26:40 -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) {