Преглед на файлове

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/',