Skip to content

Commit efee843

Browse files
author
Nat Williams
committed
merge request won't json encode body without schema
1 parent b97ab37 commit efee843

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pygithub3/requests/pull_requests/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,7 @@ class Merge_status(Request):
6060
class Merge(Request):
6161
uri = 'repos/{user}/{repo}/pulls/{number}/merge'
6262
resource = Raw
63+
body_schema = {
64+
'schema': ('commit_message',),
65+
'required': (),
66+
}

0 commit comments

Comments
 (0)