This commit is contained in:
Hekmon 2022-04-29 11:36:45 +02:00
parent db47eeb11c
commit 353f425bbf
No known key found for this signature in database
GPG key ID: 8C27AA76AB6EFF96

View file

@ -123,7 +123,7 @@ func LoginWithSessionID(sessionID string, locale LOCALE, client *http.Client) (*
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
return nil, fmt.Errorf("Failed to start session: %s", resp.Status)
return nil, fmt.Errorf("failed to start session: %s", resp.Status)
}
json.NewDecoder(resp.Body).Decode(&jsonBody)