Skip to content

Commit

Permalink
Fix validation error init
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-moz committed Jan 15, 2025
1 parent 80dfb37 commit 7eeac70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/appointment/exceptions/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class RemoteCalendarConnectionError(APIException):
status_code = 400
reason = None

def __init__(self, reason: str|None, **kwargs):
def __init__(self, reason: str|None = None, **kwargs):
if reason:
self.reason = reason
super().__init__(**kwargs)
Expand Down

0 comments on commit 7eeac70

Please sign in to comment.