From bb3f330e5ea285d9cafa6f239377abd60f96f6f5 Mon Sep 17 00:00:00 2001 From: Benjamin Smith Date: Fri, 13 May 2022 08:36:31 +0200 Subject: [PATCH] Update src/_server.py --- src/_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_server.py b/src/_server.py index 315c3ce..a058b26 100644 --- a/src/_server.py +++ b/src/_server.py @@ -56,7 +56,7 @@ def health() -> bool: @app.post("/solve", response_model=SettledBatchAuctionModel) async def solve(request: Request): # type: ignore """API POST solve endpoint handler""" - body = await request.json(); + body = await request.json() logging.debug(f"Received solve request {body}") problem = BatchAuctionModel(**body)