Fix typo in environment variable name
This commit is contained in:
parent
10cc28e5f4
commit
47d45625bc
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -15,7 +15,7 @@ type Env struct {
|
|||
|
||||
// Grab some required spotify credentials from the environment
|
||||
var spotifyClientID = os.Getenv("SPOTIFY_ID")
|
||||
var spotifyClientSecret = os.Getenv("SPOTIFY_SECRET")
|
||||
var spotifyClientSecret = os.Getenv("SPOTIFY_TOKEN")
|
||||
|
||||
func setupRouter(env *Env, spotifyID string, spotifySecret string) *gin.Engine {
|
||||
var r *gin.Engine = gin.Default()
|
||||
|
|
Loading…
Add table
Reference in a new issue