Skip to content

Commit

Permalink
added empty lists before assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerskk committed Feb 14, 2024
1 parent 2ecda83 commit 57908b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/api/endpoints/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ async def ontology(request: Request, payload: PushWebhookPayload):
#added = commits.added
#removed = commits.removed

modified = []
added = []
removed = []

# TODO: check if thats working
commits = payload.commits
for commit in commits:
Expand Down

0 comments on commit 57908b1

Please sign in to comment.