Fix collection list and how we return API responses.
This commit is contained in:
@@ -24,7 +24,7 @@ class MsgpackResponse(Response):
|
||||
return b""
|
||||
|
||||
if isinstance(content, BaseModel):
|
||||
content = content.dict(exclude_unset=True)
|
||||
content = content.dict()
|
||||
return msgpack.packb(content, use_bin_type=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user