This commit is contained in:
jjohnstondev 2023-01-07 18:19:33 -08:00
parent 7513a2eacd
commit 182eae39ab
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package authmanager
import (
"context"
"encoding/json"
"fmt"
"io/ioutil"
@ -65,7 +64,7 @@ func GetClient(ctx *ctx.Context) (*spotify.Client, error) {
if err != nil {
return nil, err
}
client := spotify.New(auth.Client(context.Background(), tok))
client := spotify.New(auth.Client(ctx, tok))
new_token, err := client.Token()
if err != nil {
return nil, err