Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 57c4774

Browse files
committed
documentation
1 parent 64836de commit 57c4774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bookserver/internal/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def canonicalize_tz(tstring: str) -> str:
4848
def make_json_response(
4949
status: int = status.HTTP_200_OK, detail: Any = None
5050
) -> JSONResponse:
51-
# Omit the detail if it's none.
51+
# content is a required parameter for a JSONResponse
5252
return JSONResponse(
5353
status_code=status, content=jsonable_encoder({"detail": detail})
5454
)

0 commit comments

Comments
 (0)