Skip to content

Commit 9bc34ee

Browse files
committed
one more
1 parent a9cbfcf commit 9bc34ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/app/services/implementations/match_service.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ async def cancel_match_by_participant(
345345
if acting_participant_id and match.participant_id != acting_participant_id:
346346
raise HTTPException(status_code=403, detail="Cannot modify another participant's match")
347347

348+
self._set_match_status(match, "cancelled_by_participant")
349+
350+
# TODO: send particpant an email saying that the match has been cancelled
348351
# Soft-delete the match when cancelled (cleans up time blocks and sets deleted_at)
349352
self._delete_match(match)
350353

0 commit comments

Comments
 (0)