Replace user email with ID in logs (#9115)
parent
35144e6f47
commit
cae1ca8dfb
|
@ -40,7 +40,7 @@ export const eventTypesRouter = router({
|
||||||
throw new Error("Failed to load handler");
|
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({
|
const result = await UNSTABLE_HANDLER_CACHE.getByViewer({
|
||||||
ctx,
|
ctx,
|
||||||
|
|
Loading…
Reference in New Issue