Skip to content

Commit

Permalink
chore: fix error message for TooManyDaysException
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoesbergen committed Jan 28, 2024
1 parent d9a3cfc commit cbbb74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aanmelden/src/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get(self, request, *args, **kwargs):
except NotEnoughSlotsException:
return JsonResponse({'error': 'Not enough slots available'}, status=400)
except TooManyDaysException:
return JsonResponse({'error': 'Henk!'}, status=400)
return JsonResponse({'error': 'You can only register for one day'}, status=400)
except StripcardLimitReachedException:
return JsonResponse({'error': 'You have reached the limit on your strip card'}, status=400)

Expand Down

0 comments on commit cbbb74f

Please sign in to comment.