mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 00:23:17 +00:00
Update getSpotifyKey.js
This commit is contained in:
parent
5bf311de45
commit
72ff4cad56
@ -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 " +
|
||||
|
Loading…
Reference in New Issue
Block a user