Skip to content

Commit 88468d2

Browse files
support 201 status code
1 parent 6ef55b8 commit 88468d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func getOuath2AuthAccessToken() {
9696
continue
9797
}
9898

99-
if resp.StatusCode != 200 {
99+
if resp.StatusCode != 200 && resp.StatusCode != 201 {
100100
log.Printf("Received non-200 status code: %s", resp.Status)
101101
continue
102102
}

0 commit comments

Comments
 (0)