fix(proxy/utils.py): fix model dump pydantic versioning issue
This commit is contained in:
parent
37ad5efc61
commit
a4b4489832
@ -1144,7 +1144,7 @@ class PrismaClient:
|
||||
if response is not None:
|
||||
try:
|
||||
_data = response.model_dump()
|
||||
except:
|
||||
except Exception as e:
|
||||
_data = response.dict()
|
||||
return {"token": token, "data": _data}
|
||||
elif (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user