Переглянути джерело

fix: fixed issue with spotify module

Kristian Vos 5 роки тому
батько
коміт
1498f2fb72
1 змінених файлів з 1 додано та 1 видалено
  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/',