From d09540c8524a99b8721d7a66c2b2a231cb995d5c Mon Sep 17 00:00:00 2001 From: Alexander Alemayhu Date: Sun, 30 Oct 2022 19:46:29 +0100 Subject: [PATCH] fix: do not require auth for /is-patreon call --- src/routes/users/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/users/index.ts b/src/routes/users/index.ts index 8cf9cd33f..65f9763a3 100644 --- a/src/routes/users/index.ts +++ b/src/routes/users/index.ts @@ -190,7 +190,7 @@ router.get('/debug/locals', RequireAuthentication, (_req, res) => { return res.json({ locals }); }); -router.get('/is-patreon', RequireAuthentication, (_req, res) => { +router.get('/is-patreon', (_req, res) => { const { patreon } = res.locals; return res.json({ patreon }); });