diff --git a/ellar_cli/scaffolding/project_template/project_name/root_module.ellar b/ellar_cli/scaffolding/project_template/project_name/root_module.ellar index 3f53b45..78e7a4d 100644 --- a/ellar_cli/scaffolding/project_template/project_name/root_module.ellar +++ b/ellar_cli/scaffolding/project_template/project_name/root_module.ellar @@ -7,4 +7,4 @@ from ellar.samples.modules import HomeModule class ApplicationModule(ModuleBase): @exception_handler(404) def exception_404_handler(cls, ctx: IExecutionContext, exc: Exception) -> Response: - return JSONResponse(dict(detail="Resource not found."), status_code=404) + return JSONResponse({"detail": "Resource not found."}, status_code=404)