Replace user email with ID in logs (#9115)

This commit is contained in:
Keith Williams
2023-05-30 16:15:09 +02:00
committed by GitHub
parent 35144e6f47
commit cae1ca8dfb
@@ -40,7 +40,7 @@ export const eventTypesRouter = router({
throw new Error("Failed to load handler");
}
const timer = logP(`getByViewer(${ctx.user.email})`);
const timer = logP(`getByViewer(${ctx.user.id})`);
const result = await UNSTABLE_HANDLER_CACHE.getByViewer({
ctx,