Fixed repository information not being in pull request dictionary
This commit is contained in:
parent
d156ed3930
commit
c662c59386
|
@ -62,7 +62,7 @@ class GiteaHandler(BaseHookHandler):
|
||||||
timestamp = dateparse(pull_request['updated_at'])
|
timestamp = dateparse(pull_request['updated_at'])
|
||||||
base = pull_request['base']
|
base = pull_request['base']
|
||||||
head = pull_request['head']
|
head = pull_request['head']
|
||||||
repository = pull_request['repository']
|
repository = payload['repository']
|
||||||
change = {
|
change = {
|
||||||
'author': '{} <{}>'.format((pull_request['user']['full_name'],
|
'author': '{} <{}>'.format((pull_request['user']['full_name'],
|
||||||
pull_request['user']['email'])),
|
pull_request['user']['email'])),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user