Replace user email with ID in logs (#9115)

This commit is contained in:
Keith Williams authored and GitHub committed 2023-05-30 16:15:09 +02:00
1 parent 35144e6f47
commit cae1ca8dfb
1 file changed
+1 -1
@@ -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,