Replace user email with ID in logs (#9115)

This commit is contained in:
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

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,