From c6ced946adb0be521b286833fd35d505b329f784 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Sat, 23 Dec 2023 23:37:34 +0100 Subject: [PATCH] agreements: allow setting empty string --- atciss/app/controllers/agreements.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atciss/app/controllers/agreements.py b/atciss/app/controllers/agreements.py index be4e7200..59687446 100644 --- a/atciss/app/controllers/agreements.py +++ b/atciss/app/controllers/agreements.py @@ -36,8 +36,8 @@ async def sectorstatus_get( ) async def sectorstatus_post( fir: str, - text: Annotated[str, Body()], user: Annotated[User, Depends(get_controller)], + text: Annotated[str, Body()] = "", ) -> Agreements: """Set status for a sector."""