Skip to content

Commit f30492c

Browse files
committed
one ) too much
1 parent b9abccc commit f30492c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ async def post_endpoint_json(
485485
updated = await astroidapi.surrealdb_handler.overwrite_json(endpoint, body)
486486
return fastapi.responses.JSONResponse(status_code=200, content=updated)
487487
else:
488-
return fastapi.responses.JSONResponse(status_code=400, content={"message": "Invalid request. Missing endpoint or body."}))
488+
return fastapi.responses.JSONResponse(status_code=400, content={"message": "Invalid request. Missing endpoint or body."})
489489
else:
490490
return fastapi.responses.JSONResponse(status_code=404, content={"detail": "Not found"})
491491

0 commit comments

Comments
 (0)