Browse Source

Merge pull request #317 from Gramps/master

Possible fix to asset approval failure
Emi 1 year ago
parent
commit
8ebe458c8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/routes/asset.php

+ 1 - 1
src/routes/asset.php

@@ -156,7 +156,7 @@ $app->get('/asset', function ($request, $response, $args) {
         'pages' => ceil($total_count / $page_size),
         'page_length' => $page_size,
         'total_items' => (int) $total_count,
-    ], 200);
+    ], 200, JSON_PARTIAL_OUTPUT_ON_ERROR);
 });
 
 // Get information for a single asset