From 133fb958c66dec29cbb3c27068a4e9e4d25d62a6 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 5 Oct 2024 16:01:27 +0530 Subject: [PATCH] feat: exports --- server/src/routes/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/proxy.ts b/server/src/routes/proxy.ts index 9eaf5501..1446effc 100644 --- a/server/src/routes/proxy.ts +++ b/server/src/routes/proxy.ts @@ -53,7 +53,7 @@ router.post('/config', requireSignIn, async (req: AuthenticatedRequest, res: Res } }); -const getDecryptedProxyConfig = async (userId: string) => { +export const getDecryptedProxyConfig = async (userId: string) => { const user = await User.findByPk(userId, { attributes: ['proxy_url', 'proxy_username', 'proxy_password'], });