Skip to content

Commit 3ab9192

Browse files
authored
Merge pull request #2 from oliver-schoenherr/support-201
Support 201 status code
2 parents 6ef55b8 + 88468d2 commit 3ab9192

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)