From 64d7259542d4c0018fd8ca583afb2f80dfbdd9cd Mon Sep 17 00:00:00 2001 From: Han Date: Thu, 6 Jun 2024 17:29:56 +0100 Subject: [PATCH] missing await --- src/controllers/v1/services/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/v1/services/index.js b/src/controllers/v1/services/index.js index face48e..9538944 100644 --- a/src/controllers/v1/services/index.js +++ b/src/controllers/v1/services/index.js @@ -74,7 +74,7 @@ module.exports = { show: async (req, res, next) => { try { logger.info(req.params) - const query = getService.buildQuery(req.params) + const query = await getService.buildQuery(req.params) const result = await getService.executeQuery(query) // let result = await db() // .collection("indexed_services")