From fd5f3b5105d42d2a05a3ba89dbe72b2fb942a742 Mon Sep 17 00:00:00 2001 From: GP Garcia Date: Mon, 12 Feb 2024 15:15:09 -0600 Subject: [PATCH] Possible fix to asset approval failure --- src/routes/asset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/asset.php b/src/routes/asset.php index 4f87c21..bc817c9 100644 --- a/src/routes/asset.php +++ b/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