added env
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
certbot/
|
certbot/
|
||||||
.env
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ package services
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/zmb3/spotify/v2"
|
"github.com/zmb3/spotify/v2"
|
||||||
@@ -12,7 +11,6 @@ import (
|
|||||||
|
|
||||||
func InitSpotify() (*spotify.Client, error) {
|
func InitSpotify() (*spotify.Client, error) {
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
log.Fatal("Tets")
|
|
||||||
|
|
||||||
// redirectURI := os.Getenv("SPOTIFY_REDIRECT_URI")
|
// redirectURI := os.Getenv("SPOTIFY_REDIRECT_URI")
|
||||||
clientID := os.Getenv("SPOTIFY_CLIENT_ID")
|
clientID := os.Getenv("SPOTIFY_CLIENT_ID")
|
||||||
|
|||||||
Reference in New Issue
Block a user