Skip to content

Commit

Permalink
fix: initmuse
Browse files Browse the repository at this point in the history
  • Loading branch information
lovegaoshi committed Dec 4, 2024
1 parent a3e6b02 commit f30774c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/muse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const findCookie = (cookies: string, match: string) => {
};

export const initMuse = async (
cookies: Promise<string> = getItem(StorageKeys.YTMCOOKIES),
cookies: Promise<string> = getItem(StorageKeys.YTMCOOKIES, ''),
) => {
const sapisid = findCookie(await cookies, 'SAPISID') ?? '';
// https://github.com/sigma67/ytmusicapi/blob/9ce284a7eae9c4cdc04bb098f7549cc5f1c80e22/ytmusicapi/helpers.py#L52
Expand Down

0 comments on commit f30774c

Please sign in to comment.