From 76ab75d049735e4a9acb90181606ae890b06b467 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Wed, 6 Aug 2025 12:16:19 +0200 Subject: [PATCH] Apply suggestions from code review --- backend/src/federation/client/1_0/SendCoinsClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/federation/client/1_0/SendCoinsClient.ts b/backend/src/federation/client/1_0/SendCoinsClient.ts index dcbc21012..13c2b8697 100644 --- a/backend/src/federation/client/1_0/SendCoinsClient.ts +++ b/backend/src/federation/client/1_0/SendCoinsClient.ts @@ -34,8 +34,8 @@ export class SendCoinsClient { async voteForSendCoins(args: EncryptedTransferArgs): Promise { logger.debug('voteForSendCoins against endpoint=', this.endpoint) try { - const { data } = await this.client.rawRequest(voteForSendCoinsQuery, { args }) - const responseJwt: string = data?.voteForSendCoins + const { data } = await this.client.rawRequest<{ voteForSendCoins: string }>(voteForSendCoinsQuery, { args }) + const responseJwt = data?.voteForSendCoins if (responseJwt) { logger.debug('received response jwt', responseJwt) return responseJwt