Automatically retry requests
[brackets.git] / client / client.go
index f3c4a7c..394ee5f 100644 (file)
@@ -21,5 +21,6 @@ func Get() (*spotify.Client, error) {
        }
 
        client := spotify.Authenticator{}.NewClient(token)
+       client.AutoRetry = true
        return &client, nil
 }