Continue...
This commit is contained in:
parent
f7ce5e6050
commit
d62a3dcf77
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ requests.models.complexjson.dumps = functools.partial(json.dumps, cls=CustomJSON
|
||||||
async def request_json():
|
async def request_json():
|
||||||
try:
|
try:
|
||||||
return await request.json
|
return await request.json
|
||||||
except:
|
except Exception:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
def serialize_for_json(obj):
|
def serialize_for_json(obj):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue