mirror of
https://github.com/hackspace-marburg/flaggenschnapp.git
synced 2026-05-05 10:56:09 +02: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))
|