From: Jacob Casper Date: Thu, 16 Apr 2020 04:50:49 +0000 (-0500) Subject: Automatically retry requests X-Git-Url: https://git.jacobcasper.com/?p=brackets.git;a=commitdiff_plain;h=3884cdc440f087306f3a402b864f39f9534a2c27 Automatically retry requests --- diff --git a/client/client.go b/client/client.go index f3c4a7c..394ee5f 100644 --- a/client/client.go +++ b/client/client.go @@ -21,5 +21,6 @@ func Get() (*spotify.Client, error) { } client := spotify.Authenticator{}.NewClient(token) + client.AutoRetry = true return &client, nil }