From 2b036fcebe7392cf1af94604aefda0b4b216c6bd Mon Sep 17 00:00:00 2001 From: hammerturtle <107792503+hammerturtle@users.noreply.github.com> Date: Sun, 19 Jun 2022 11:39:49 +0200 Subject: [PATCH] Fix hashed -> hashes typo --- src/qbt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qbt.js b/src/qbt.js index 7c14242..e6cf217 100644 --- a/src/qbt.js +++ b/src/qbt.js @@ -1158,12 +1158,12 @@ async function removeCategories(options, cookie, categories) { } async function addTags(options, cookie, hashes, tags) { - await performRequest(options, cookie, '/torrents/addTags', { hashes: hashed, tags: encodeURI(tags) }) + await performRequest(options, cookie, '/torrents/addTags', { hashes: hashes, tags: encodeURI(tags) }) return } async function removeTags(options, cookie, hashes, tags) { - await performRequest(options, cookie, '/torrents/removeTags', { hashes: hashed, tags: encodeURI(tags) }) + await performRequest(options, cookie, '/torrents/removeTags', { hashes: hashes, tags: encodeURI(tags) }) return }