Skip to content

Commit e8acc1d

Browse files
committed
fix json encoding
1 parent 889a73c commit e8acc1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/mergin/sync/public_api_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ def get_paginated_projects(
627627
) # temporary yield to gevent hub until serialization is fully resolved (#317)
628628
data = ProjectListSchema(many=True, context=ctx).dump(result)
629629
data = {"projects": data, "count": total}
630-
return data, 200
630+
return jsonify(data), 200
631631

632632

633633
@auth_required

0 commit comments

Comments
 (0)