From a32cb6fff72f8bb7c1eba1575f46e18481b0a58c Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Fri, 11 Jul 2025 18:36:02 +0200
Subject: [PATCH] surround find FedComA with logoutput
---
.../src/graphql/api/1_0/resolver/AuthenticationResolver.ts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
index fdbef5fe0..234727dcc 100644
--- a/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
+++ b/federation/src/graphql/api/1_0/resolver/AuthenticationResolver.ts
@@ -43,7 +43,9 @@ export class AuthenticationResolver {
logger.removeContext('handshakeID')
throw new Error(errmsg)
}
+ logger.debug(`vor DbFedCommunity.findOneByOrFail()...`, { publicKey: args.publicKey })
const fedComA = await DbFedCommunity.findOneByOrFail({ publicKey: Buffer.from(args.publicKey, 'hex') })
+ logger.debug(`nach DbFedCommunity.findOneByOrFail()...`, fedComA)
logger.debug('fedComA', new FederatedCommunityLoggingView(fedComA))
if (!openConnectionJwtPayload.url.startsWith(fedComA.endPoint)) {
const errmsg = `invalid url of community with publicKey` + args.publicKey