mirror of
https://github.com/hackspace-marburg/flaggenschnapp.git
synced 2025-12-24 17:31:02 +01:00
6 lines
136 B
Python
6 lines
136 B
Python
from starlette.responses import JSONResponse
|
|
|
|
|
|
def error_response(msg: str) -> JSONResponse():
|
|
return JSONResponse(dict(error=msg))
|