From 4642fc604a69c33908c118bad9005a3fb3f99d92 Mon Sep 17 00:00:00 2001 From: vMohammad <62218284+vMohammad24@users.noreply.github.com> Date: Tue, 28 Jan 2025 08:53:47 +0300 Subject: [PATCH] Fixed unstar unstar() was copied from star() and someone forgot to update the endpoint --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index db662f2..e2f66ed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -666,7 +666,7 @@ export default class SubsonicAPI { } async unstar(args: { id?: string; albumId?: string; artistId?: string }) { - return this.#requestJSON("star", args); + return this.#requestJSON("unstar", args); } async setRating(args: { id: string; rating: number }) {