From 83f29652997484deb1e601732a5b71e6ff580938 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Tue, 14 Oct 2025 10:06:09 +0200 Subject: [PATCH] update log --- .../src/graphql/api/1_0/resolver/AuthenticationResolver.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts index c29ea7391..948a8dc28 100644 --- a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts +++ b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts @@ -170,10 +170,12 @@ export class AuthenticationResolver { `invalid uuid: ${authArgs.uuid} for community with publicKey ${authComPublicKey.asHex()}` ) } + methodLogger.debug('before loading auth community again from db') const authComFresh = await getCommunityByPublicKeyOrFail(authComPublicKey) authComFresh.communityUuid = communityUuid.data authComFresh.authenticatedAt = new Date() - methodLogger.debug('try to save: ', authCom) + methodLogger.debug('after loading auth community again from db') + methodLogger.debug('try to save: ', authComFresh) await authComFresh.save().catch((err) => { methodLogger.fatal('failed to save authCom:', err) })