From 4c6ce7c710f8b82f5e02eec601a5a5953e4a1843 Mon Sep 17 00:00:00 2001 From: FleetAdmiralJakob Date: Sun, 21 Jan 2024 19:14:42 +0100 Subject: [PATCH] chore: Fixed typo --- packages/api/src/trpc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/trpc.ts b/packages/api/src/trpc.ts index 845304b4..34e6ab22 100644 --- a/packages/api/src/trpc.ts +++ b/packages/api/src/trpc.ts @@ -146,7 +146,7 @@ const rateLimitMiddleware = t.middleware(async ({ ctx, path, next }) => { log.warn("Rate limit exceeded", { ip: identifier }); throw new TRPCError({ code: "INTERNAL_SERVER_ERROR", - message: "Rate limit exceeded on this IP: " + identifier, + message: "Rate limit exceeded on this identifier: " + identifier, }); } return next();