mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
Update getSpotifyKey.js
This commit is contained in:
parent
5bf311de45
commit
72ff4cad56
@ -1,8 +1,8 @@
|
|||||||
module.exports = async function (client) {
|
module.exports = async function (client) {
|
||||||
var request = require("request");
|
const request = require("request");
|
||||||
|
|
||||||
var refresh_token = client.config.spotify_refresh_token;
|
const refresh_token = client.config.spotify_refresh_token;
|
||||||
var authOptions = {
|
const authOptions = {
|
||||||
url: "https://accounts.spotify.com/api/token",
|
url: "https://accounts.spotify.com/api/token",
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: "Basic " +
|
Authorization: "Basic " +
|
||||||
|
Loading…
Reference in New Issue
Block a user