diff options
author | George Goldberg <george@gberg.me> | 2017-09-01 14:58:43 +0100 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-09-01 09:58:43 -0400 |
commit | 75c63344def7a108f1257b99e0342330da882a38 (patch) | |
tree | a5090e735eacf2d4dea4877a3b84e1f276e1f66b /api/oauth_test.go | |
parent | 718da3593b6feb1c3546b1e17c30c22990157ed5 (diff) | |
download | chat-75c63344def7a108f1257b99e0342330da882a38.tar.gz chat-75c63344def7a108f1257b99e0342330da882a38.tar.bz2 chat-75c63344def7a108f1257b99e0342330da882a38.zip |
Api: NewLocAppError -> NewAppError (#7280)
Diffstat (limited to 'api/oauth_test.go')
-rw-r--r-- | api/oauth_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/oauth_test.go b/api/oauth_test.go index 3d71d8e90..584b4183b 100644 --- a/api/oauth_test.go +++ b/api/oauth_test.go @@ -835,7 +835,7 @@ func HttpGet(url string, httpClient *http.Client, authToken string, followRedire } if rp, err := httpClient.Do(rq); err != nil { - return nil, model.NewLocAppError(url, "model.client.connecting.app_error", nil, err.Error()) + return nil, model.NewAppError(url, "model.client.connecting.app_error", nil, err.Error(), 0) } else if rp.StatusCode == 304 { return rp, nil } else if rp.StatusCode == 307 { |