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