From 32f973d7a9b25f45015a490bcd343d08a69bbaf0 Mon Sep 17 00:00:00 2001 From: RockinChaos Date: Sun, 4 Aug 2024 19:53:37 -0700 Subject: [PATCH] fix: deleting from lists --- common/modules/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/helper.js b/common/modules/helper.js index 6b3d853..addbf3c 100644 --- a/common/modules/helper.js +++ b/common/modules/helper.js @@ -138,7 +138,7 @@ export default class Helper { } static async delete(media) { - return await this.getClient().delete(...(this.isAniAuth() ? {id: media.mediaListEntry.id} : {idMal: media.idMal})) + return await this.getClient().delete((this.isAniAuth() ? {id: media.mediaListEntry.id} : {idMal: media.idMal})) } static matchTitle(media, phrase, keys) {