Replace user email with ID in logs (#9115)

pull/8946/head^2
Keith Williams 2023-05-30 11:15:09 -03:00 committed by GitHub
parent 35144e6f47
commit cae1ca8dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,