Explorar o código

fix: fixed issue with spotify module

Kristian Vos %!s(int64=5) %!d(string=hai) anos
pai
achega
1498f2fb72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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/',