From 07af621381b986ecf2db4e7c6ea4627aba595f56 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 28 Sep 2020 16:20:41 -0400 Subject: [PATCH] fix: typo in getCompatiblePlugins --- src/controllers/admin/plugins.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/admin/plugins.js b/src/controllers/admin/plugins.js index 6467f27b49..3bf5ce047d 100644 --- a/src/controllers/admin/plugins.js +++ b/src/controllers/admin/plugins.js @@ -9,7 +9,7 @@ const pluginsController = module.exports; pluginsController.get = async function (req, res) { const [compatible, all] = await Promise.all([ - getCompatiblePluigns(), + getCompatiblePlugins(), getAllPlugins(), ]); @@ -39,7 +39,7 @@ pluginsController.get = async function (req, res) { }); }; -async function getCompatiblePluigns() { +async function getCompatiblePlugins() { return await getPlugins(true); }