From f30774c93b9dd52ce21867ff36d50f887e275ffc Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Wed, 4 Dec 2024 11:09:21 -0800 Subject: [PATCH] fix: initmuse --- src/utils/muse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/muse.ts b/src/utils/muse.ts index 112d93e0..ea125122 100644 --- a/src/utils/muse.ts +++ b/src/utils/muse.ts @@ -10,7 +10,7 @@ const findCookie = (cookies: string, match: string) => { }; export const initMuse = async ( - cookies: Promise = getItem(StorageKeys.YTMCOOKIES), + cookies: Promise = getItem(StorageKeys.YTMCOOKIES, ''), ) => { const sapisid = findCookie(await cookies, 'SAPISID') ?? ''; // https://github.com/sigma67/ytmusicapi/blob/9ce284a7eae9c4cdc04bb098f7549cc5f1c80e22/ytmusicapi/helpers.py#L52