feat: exports

This commit is contained in:
karishmas6
2024-10-05 16:01:27 +05:30
parent de4a7a2fa2
commit 133fb958c6

View File

@@ -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'],
});