From: Ruben Beltran del Rio Date: Sun, 11 Dec 2022 12:16:34 +0000 (+0100) Subject: Use all instead of get X-Git-Url: https://git.r.bdr.sh/rbdr/linkding-linkblog-updater/commitdiff_plain/096cf8b12b95bb5c8bacdea03e695fd787cee025 Use all instead of get --- diff --git a/index.js b/index.js index e1aaebf..b6c3e10 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ const internals = { async function run() { const pinboard = new Pinboard(internals.apiToken); - const getPins = promisify(pinboard.get); + const getPins = promisify(pinboard.all); const addPin = promisify(pinboard.add); const pins = await getPins({ tag: 'linkblog' });