diff --git a/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts b/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts index 000d3ddb55..b9d0763f4b 100644 --- a/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Rocketchat/GenericFunctions.ts @@ -20,7 +20,7 @@ export async function rocketchatApiRequest(this: IHookFunctions | IExecuteFuncti headers: headerWithAuthentication, method, body, - uri: `${credentials.endpoint}${resource}.${operation}`, + uri: `${credentials.domain}${resource}.${operation}`, json: true };