userUploadAvatar shouldn't require auth

This commit is contained in:
2026-01-27 12:08:02 +00:00
parent b11379e380
commit 4c2ec86639

View File

@@ -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)),