From b7d2568dcc0897e1d0d2976366808fd7ca1e695c Mon Sep 17 00:00:00 2001 From: clauspeterhuebner Date: Fri, 30 Jan 2026 01:21:20 +0100 Subject: [PATCH] rename sendCommandQuery --- core/src/federation/client/1_0/CommandClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/federation/client/1_0/CommandClient.ts b/core/src/federation/client/1_0/CommandClient.ts index f5e88cad3..817fb7bd7 100644 --- a/core/src/federation/client/1_0/CommandClient.ts +++ b/core/src/federation/client/1_0/CommandClient.ts @@ -3,7 +3,7 @@ import { FederatedCommunity as DbFederatedCommunity } from 'database' import { GraphQLClient } from 'graphql-request' import { getLogger } from 'log4js' import { LOG4JS_BASE_CATEGORY_NAME } from '../../../config/const' -import { sendCommand } from './query/sendCommand' +import { sendCommand as sendCommandQuery} from './query/sendCommand' import { ensureUrlEndsWithSlash } from '../../../util/utilities' const logger = getLogger(`${LOG4JS_BASE_CATEGORY_NAME}.federation.client.1_0.CommandClient`) @@ -28,7 +28,7 @@ export class CommandClient { async sendCommand(args: EncryptedTransferArgs): Promise { logger.debug(`sendCommand at ${this.endpoint} for args:`, args) try { - const { data } = await this.client.rawRequest<{ success: boolean }>(sendCommand, { + const { data } = await this.client.rawRequest<{ success: boolean }>(sendCommandQuery, { args, }) if (!data?.success) {