From 21532509fbae0d51565754a8354f20f58bb1d82b Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sun, 3 Aug 2025 19:18:01 +0200 Subject: [PATCH] Rename mutation to UPSERT_WALLET_RECEIVE_LND_GRPC (#2384) --- wallets/client/fragments/protocol.js | 2 +- wallets/client/hooks/query.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wallets/client/fragments/protocol.js b/wallets/client/fragments/protocol.js index bd06da6a..14a55ab8 100644 --- a/wallets/client/fragments/protocol.js +++ b/wallets/client/fragments/protocol.js @@ -172,7 +172,7 @@ export const UPSERT_WALLET_RECEIVE_CLN_REST = gql` } ` -export const UPSERT_WALLET_RECEIVE_LNDGRPC = gql` +export const UPSERT_WALLET_RECEIVE_LND_GRPC = gql` mutation upsertWalletRecvLNDGRPC( ${sharedRecv.variables}, $socket: String!, diff --git a/wallets/client/hooks/query.js b/wallets/client/hooks/query.js index 23288e81..e1a9bb7e 100644 --- a/wallets/client/hooks/query.js +++ b/wallets/client/hooks/query.js @@ -4,7 +4,7 @@ import { UPSERT_WALLET_RECEIVE_CLN_REST, UPSERT_WALLET_RECEIVE_LIGHTNING_ADDRESS, UPSERT_WALLET_RECEIVE_LNBITS, - UPSERT_WALLET_RECEIVE_LNDGRPC, + UPSERT_WALLET_RECEIVE_LND_GRPC, UPSERT_WALLET_RECEIVE_NWC, UPSERT_WALLET_RECEIVE_PHOENIXD, UPSERT_WALLET_SEND_BLINK, @@ -301,7 +301,7 @@ function getWalletProtocolMutation (protocol) { case 'CLN_REST': return protocol.send ? null : UPSERT_WALLET_RECEIVE_CLN_REST case 'LND_GRPC': - return protocol.send ? null : UPSERT_WALLET_RECEIVE_LNDGRPC + return protocol.send ? null : UPSERT_WALLET_RECEIVE_LND_GRPC case 'LNC': return protocol.send ? UPSERT_WALLET_SEND_LNC : null case 'WEBLN':