chore: don't log the whole delegated credential (#20452)

This commit is contained in:
Morgan authored and GitHub committed 2025-03-31 08:25:35 +00:00
1 parent 21e7ac3cbe
commit c95118715a
1 file changed
+8 -1
+8 -1
View File
@@ -245,7 +245,14 @@ async function _getDelegationCredentialsMapPerUser({
_buildDelegatedConferencingCredential({ delegationCredential, user }),
].filter((credential): credential is NonNullable<typeof credential> => credential !== null);
log.debug("Returned for user", safeStringify({ user, delegationCredentials }));
log.debug(
"Returned for user",
safeStringify({
user,
delegationCredentialIds:
delegationCredentials?.map?.((delegationCredential) => delegationCredential?.delegatedToId) ?? [],
})
);
credentialsByUserId.set(user.id, delegationCredentials);
}