From 9c6938c5a0a7f95824fdcb93762cb12794856e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Schei=20N=C3=B8rve?= Date: Mon, 5 Feb 2018 11:36:03 +0100 Subject: [PATCH 1/2] Corrected api url in moveBookmark Used the api to move bookmarks, at the time it just unarchived them. Checked source and found an incorrect url. --- index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.coffee b/index.coffee index 8aac6ba..976f316 100644 --- a/index.coffee +++ b/index.coffee @@ -118,7 +118,7 @@ class Instapaper moveBookmark: (bookmark_id, folder_id) -> @request - url: 'bookmarks/unarchive' + url: 'bookmarks/move' data: bookmark_id: bookmark_id folder_id: folder_id From 8ba98a1efca4657e99dc34018588048c48754a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Schei=20N=C3=B8rve?= Date: Mon, 5 Feb 2018 11:37:15 +0100 Subject: [PATCH 2/2] Change url in moveBookmark I just changed the file directly, given the small edit it's ok. Used the api to move bookmarks, at the time it just unarchived them. Checked source and found an incorrect url. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d05f677..35f488c 100644 --- a/index.js +++ b/index.js @@ -175,7 +175,7 @@ Instapaper.prototype.moveBookmark = function(bookmark_id, folder_id) { return this.request({ - url: 'bookmarks/unarchive', + url: 'bookmarks/move', data: { bookmark_id: bookmark_id, folder_id: folder_id