From b58e70c78e737f60042402cd763abdff4ab9ce94 Mon Sep 17 00:00:00 2001 From: Joel Ros Date: Mon, 4 Nov 2024 12:31:56 +0100 Subject: [PATCH] fix --- src/impl/Event/router_v1.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/impl/Event/router_v1.py b/src/impl/Event/router_v1.py index e4208dc..eabe1bc 100644 --- a/src/impl/Event/router_v1.py +++ b/src/impl/Event/router_v1.py @@ -228,8 +228,7 @@ def confirm_assistance(token: AssistenceToken = Depends(JWTBearer())): """ event_service.confirm_assistance(token) #redirect to Configuration.get('OTHERS', 'FRONT_URL') - return Response(status_code=303, - headers={"Location": Configuration.front_url}) + return {"success":True} @router.get("/force-confirm-assistance/{event_id}/{user_id}")