Fix GH schema for missing usernames and add test

This commit is contained in:
Joseph Schorr 2015-09-25 15:12:24 -04:00
parent 1bba472c14
commit 18cfe676ee
3 changed files with 164 additions and 2 deletions

View file

@ -56,7 +56,6 @@ GITHUB_WEBHOOK_PAYLOAD_SCHEMA = {
'type': 'string'
},
},
'required': ['username'],
},
'committer': {
'type': 'object',
@ -71,7 +70,6 @@ GITHUB_WEBHOOK_PAYLOAD_SCHEMA = {
'type': 'string'
},
},
'required': ['username'],
},
},
'required': ['id', 'url', 'message', 'timestamp'],