From 20dcd98fdfc263cff8f47bd6c6e6d1c6d3aa69d7 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 16 Oct 2025 15:16:21 +0200 Subject: [PATCH] Allow unauth requests to get-messages-count (used in public stats) --- common/src/api/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/api/schema.ts b/common/src/api/schema.ts index 9a274186..a346adbe 100644 --- a/common/src/api/schema.ts +++ b/common/src/api/schema.ts @@ -531,7 +531,7 @@ export const API = (_apiTypeCheck = { }, 'get-messages-count': { method: 'GET', - authed: true, + authed: false, rateLimited: false, props: z.object({}), returns: {} as { count: number },