From 1c31d8a7ccf6aba7fe8533388be5857c201f4bc3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:34:53 +0000 Subject: [PATCH 1/2] Initial plan From f886c5950634f8b6d623e2b48e27f12fe8be7270 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 18:36:28 +0000 Subject: [PATCH 2/2] Change unregister_from_activity from async to sync function Co-authored-by: pmca31 <6774003+pmca31@users.noreply.github.com> --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 31cb1e9..c23ac90 100644 --- a/src/app.py +++ b/src/app.py @@ -115,7 +115,7 @@ def signup_for_activity(activity_name: str, email: str): @app.post("/activities/{activity_name}/unregister") -async def unregister_from_activity(activity_name: str, email: str): +def unregister_from_activity(activity_name: str, email: str): """Unregister a student from an activity""" # Validate email is not empty or whitespace-only if not email.strip():