From a85298569e12978fe2859ab88aff3f924c24a92f Mon Sep 17 00:00:00 2001
From: clauspeterhuebner
Date: Mon, 28 Jul 2025 23:38:25 +0200
Subject: [PATCH] correct typecheck failure
---
federation/src/graphql/api/1_0/resolver/SendCoinsResolver.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/federation/src/graphql/api/1_0/resolver/SendCoinsResolver.ts b/federation/src/graphql/api/1_0/resolver/SendCoinsResolver.ts
index 3704fe2ee..3c6d056af 100644
--- a/federation/src/graphql/api/1_0/resolver/SendCoinsResolver.ts
+++ b/federation/src/graphql/api/1_0/resolver/SendCoinsResolver.ts
@@ -40,7 +40,7 @@ export class SendCoinsResolver {
}
const authArgs = await interpretEncryptedTransferArgs(args) as SendCoinsJwtPayloadType
if (!authArgs) {
- const errmsg = `invalid authentication payload of requesting community with publicKey` + authArgs.publicKey
+ const errmsg = `invalid authentication payload of requesting community with publicKey` + args.publicKey
methodLogger.error(errmsg)
throw new Error(errmsg)
}