From 2305d31c598ad9b2fef43a047f816ce9da69e55f Mon Sep 17 00:00:00 2001 From: confused-Techie Date: Tue, 12 Dec 2023 18:49:25 -0800 Subject: [PATCH] Fix typo on `qeury` => `query` --- src/controllers/getPackagesSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/getPackagesSearch.js b/src/controllers/getPackagesSearch.js index 8eb18868..b62b01f6 100644 --- a/src/controllers/getPackagesSearch.js +++ b/src/controllers/getPackagesSearch.js @@ -19,7 +19,7 @@ module.exports = { params: { sort: (context, req) => { return context.query.sort(req); }, page: (context, req) => { return context.query.page(req); }, - direction: (context, req) => { return context.qeury.dir(req); }, + direction: (context, req) => { return context.query.dir(req); }, query: (context, req) => { return context.query.query(req); } },