🏷️(backend) accept string as saved document
Saved documents has to be a string now. Before it has to be a json object.
This commit is contained in:
@@ -344,7 +344,7 @@ class DocumentViewSet(
|
||||
|
||||
return drf_response.Response(
|
||||
{
|
||||
"content": json.loads(response["Body"].read()),
|
||||
"content": response["Body"].read().decode("utf-8"),
|
||||
"last_modified": response["LastModified"],
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user