From 96bd6eedc2183ba05fdb6947bc99e9615a4c281a Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:40:50 -0700 Subject: [PATCH] Fix proxy typo --- src/pages/api/services/proxy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/api/services/proxy.js b/src/pages/api/services/proxy.js index fd39ab96a..90280c3dd 100644 --- a/src/pages/api/services/proxy.js +++ b/src/pages/api/services/proxy.js @@ -21,7 +21,7 @@ export default async function handler(req, res) { if (!widget) { logger.debug("Unknown proxy service type: %s", type); - return res.status(403).json({ error: "Unkown proxy service type" }); + return res.status(403).json({ error: "Unknown proxy service type" }); } const serviceProxyHandler = widget.proxyHandler || genericProxyHandler; @@ -107,7 +107,7 @@ export default async function handler(req, res) { } logger.debug("Unknown proxy service type: %s", type); - return res.status(403).json({ error: "Unkown proxy service type" }); + return res.status(403).json({ error: "Unknown proxy service type" }); } catch (e) { if (e) logger.error(e); return res.status(500).send({ error: "Unexpected error" });