1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update getSpotifyKey.js

This commit is contained in:
MatteZ02 2020-06-08 14:09:52 +03:00
parent 5bf311de45
commit 72ff4cad56

View File

@ -1,8 +1,8 @@
module.exports = async function (client) {
var request = require("request");
const request = require("request");
var refresh_token = client.config.spotify_refresh_token;
var authOptions = {
const refresh_token = client.config.spotify_refresh_token;
const authOptions = {
url: "https://accounts.spotify.com/api/token",
headers: {
Authorization: "Basic " +