From d0fa20fb0984643c3ab95e2bf69fbb101b6ec76c Mon Sep 17 00:00:00 2001 From: adb-sh Date: Sat, 1 Oct 2022 23:10:07 +0200 Subject: [PATCH] debug --- backend/api/auth.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/api/auth.mjs b/backend/api/auth.mjs index f1c507c..79504af 100644 --- a/backend/api/auth.mjs +++ b/backend/api/auth.mjs @@ -1,4 +1,5 @@ -import { Client, Player } from "spotify-api.js"; +import spotifyApi from "spotify-api.js"; +const { Client, Player } = spotifyApi; import { store } from "../store.mjs"; import { randomString } from "../lib/randomString.js"; import axios from "axios";