Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
First time doesn't work always
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMooskyFish committed Dec 15, 2022
1 parent 23ebe12 commit a638a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function start(): Promise<void> {
};

if (spotify) {
inject.after(spotify, "getActiveSocketAndDevice", ([_, ret]) => {
inject.after(spotify, "getActiveSocketAndDevice", (_, ret) => {
if (ret) (ret as any).socket.isPremium = true;
return ret;
});
Expand Down

0 comments on commit a638a14

Please sign in to comment.