Fix typo in environment variable name

This commit is contained in:
froge 2025-02-12 14:26:24 +10:00
parent 10cc28e5f4
commit 47d45625bc
Signed by: froge
GPG key ID: A825E09930271BFA

View file

@ -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()