From 2c2f67f2572612b767a3178a58e3a1cc82154ae0 Mon Sep 17 00:00:00 2001 From: Sun Date: Mon, 26 Feb 2024 16:16:32 -0500 Subject: [PATCH] all tests pass --- app/controllers/collection-indexes-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/collection-indexes-controller.js b/app/controllers/collection-indexes-controller.js index 8adcb2f7..a5df83b8 100644 --- a/app/controllers/collection-indexes-controller.js +++ b/app/controllers/collection-indexes-controller.js @@ -85,7 +85,7 @@ exports.updateFull = async function(req, res) { // Update the collection index try { - const collectionIndex = collectionIndexService.updateFull(id, collectionIndexData); + const collectionIndex = await collectionIndexService.updateFull(id, collectionIndexData); if (!collectionIndex) { return res.status(404).send('Collection index not found.'); } else {