Skip to content

Commit 67e16f0

Browse files
committed
match octokit.rb status codes
1 parent 6697f5d commit 67e16f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/octokit/connection.cr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module Octokit
1717
CONVENIENCE_HEADERS = Set{"accept", "content_type"}
1818

1919
# Successful status codes from PUT/POST/PATCH requests
20-
SUCCESSFUL_STATUSES = [200, 201, 202, 204]
20+
SUCCESSFUL_STATUSES = [201, 202, 204]
2121

2222
# Make a HTTP GET request
2323
def get(url, options = nil)

0 commit comments

Comments
 (0)