Skip to content

Commit

Permalink
fix status code (upsi whoopsie)
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzl committed Jul 12, 2024
1 parent 230f6eb commit 63fad2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vinywaji/gui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def get(self, request: HttpRequest, trigger: str):
webhook = WebhookConfig.objects.filter(trigger_key=trigger)
if len(webhook) == 1:
webhook[0].trigger()
return HttpResponse("OK", status_code=200)
return HttpResponse("OK", status=200)
else:
return HttpResponse("Failed", status_code=404)
return HttpResponse("Failed", status=404)


def manifest(request):
Expand Down

0 comments on commit 63fad2e

Please sign in to comment.