Pārlūkot izejas kodu

fix: fixed issue with spotify module

Kristian Vos 5 gadi atpakaļ
vecāks
revīzija
1498f2fb72
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      backend/logic/spotify.js

+ 1 - 1
backend/logic/spotify.js

@@ -29,7 +29,7 @@ module.exports = class extends coreClass {
 			const secret = config.get("apis.spotify.secret");
 
 			const OAuth2 = require('oauth').OAuth2;
-			const SpotifyOauth = new OAuth2(
+			this.SpotifyOauth = new OAuth2(
 				client,
 				secret, 
 				'https://accounts.spotify.com/',