Compare commits

..

1 Commits

Author SHA1 Message Date
Henry
f85bbc4584 fix: increase maximum length for boardSlug from 24 to 60 characters 2026-03-23 16:29:58 +00:00
2 changed files with 3 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ export function LabelForm({
labelPublicId: entityId,
},
{
enabled: !!isEdit && entityId.length >= 12,
enabled: isEdit && !!entityId,
},
);

View File

@@ -163,9 +163,9 @@ export const createTRPCRouter = t.router;
export const createCallerFactory = t.createCallerFactory;
const loggingMiddleware = t.middleware(async ({ path, type, next, ctx, getRawInput }) => {
const loggingMiddleware = t.middleware(async ({ path, type, next, ctx }) => {
const start = Date.now();
const [result, input] = await Promise.all([next(), getRawInput().catch(() => undefined)]);
const result = await next();
const duration = Date.now() - start;
const { user, transport, requestId } = ctx as {
@@ -182,7 +182,6 @@ const loggingMiddleware = t.middleware(async ({ path, type, next, ctx, getRawInp
duration,
userId: user?.id,
...(isCloud && { email: user?.email }),
input,
};
const label = transport === "rest" ? "REST" : "tRPC";