Skip to content

Commit bad9aec

Browse files
committed
fixed lint C408 on scaffolding template
1 parent d8da062 commit bad9aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ellar_cli/scaffolding/project_template/project_name/root_module.ellar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ from ellar.samples.modules import HomeModule
77
class ApplicationModule(ModuleBase):
88
@exception_handler(404)
99
def exception_404_handler(cls, ctx: IExecutionContext, exc: Exception) -> Response:
10-
return JSONResponse(dict(detail="Resource not found."), status_code=404)
10+
return JSONResponse({"detail": "Resource not found."}, status_code=404)

0 commit comments

Comments
 (0)