fix: remove hardcoded api keys (ups)
This commit is contained in:
1 parent
353a88bc9c
commit
bc5c9aa29a
1 file changed
+5
-2
+5
-2
@@ -1,10 +1,13 @@
|
||||
import dotenv from 'dotenv'
|
||||
import SpotifyWebApi from 'spotify-web-api-node'
|
||||
|
||||
import Track from './Track.js'
|
||||
|
||||
dotenv.config()
|
||||
|
||||
const spotify = new SpotifyWebApi({
|
||||
clientId: 'c9cd1ede71914999a75fbea35313c1a4',
|
||||
clientSecret: '13858e98eb264cf78251072f2ea5e96d',
|
||||
clientId: process.env.spotifyClientId,
|
||||
clientSecret: process.env.spotifyClientSecret,
|
||||
})
|
||||
|
||||
function grantToken() {
|
||||
|
||||
Reference in new issue
Block a user