Skip to content

Commit

Permalink
removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
godfryd committed Oct 30, 2021
1 parent 2ab2928 commit 28f5c0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/kraken/server/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ def handle_github_webhook(project_id):
def handle_gitea_webhook(project_id):
payload = request.get_data()
log.info('GITEA for project_id:%s, payload: %s', project_id, payload)
with open('/tmp/gitea-1.json', 'wb') as f:
f.write(payload)
event = request.headers.get('X-Gitea-Event')
signature = request.headers.get("X-Hub-Signature")
log.info('GITEA event:%s, signature: %s', event, signature)
Expand Down

0 comments on commit 28f5c0b

Please sign in to comment.