Explorar el Código

fix: fixed issue with spotify module

Kristian Vos hace 5 años
padre
commit
1498f2fb72
Se han modificado 1 ficheros con 1 adiciones y 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/',