From 4c2ec8663922db2848ae1b428f40cc70b1edbed9 Mon Sep 17 00:00:00 2001 From: Oliver Bryan Date: Tue, 27 Jan 2026 12:08:02 +0000 Subject: [PATCH] userUploadAvatar shouldn't require auth --- packages/backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/index.ts b/packages/backend/src/index.ts index 22ecdb6..31913c1 100644 --- a/packages/backend/src/index.ts +++ b/packages/backend/src/index.ts @@ -40,7 +40,7 @@ const main = async () => { "/user/by-username": withGlobal(withAuth(routes.userByUsername)), "/user/update": withGlobal(withAuth(withCSRF(routes.userUpdate))), - "/user/upload-avatar": withGlobal(withAuth(withCSRF(routes.userUploadAvatar))), + "/user/upload-avatar": withGlobal(routes.userUploadAvatar), "/issue/create": withGlobal(withAuth(withCSRF(routes.issueCreate))), "/issue/by-id": withGlobal(withAuth(routes.issueById)),