diff --git a/packages/nodes-base/nodes/Zulip/GenericFunctions.ts b/packages/nodes-base/nodes/Zulip/GenericFunctions.ts index f8c7f06be4..15110bb6ed 100644 --- a/packages/nodes-base/nodes/Zulip/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Zulip/GenericFunctions.ts @@ -26,7 +26,7 @@ export async function zulipApiRequest( ) { const credentials = await this.getCredentials('zulipApi'); - const endpoint = `${credentials.url}/api/v1`; + const endpoint = `${credentials.url.toString().replace(new RegExp('/$'), '')}/api/v1`; let options: OptionsWithUri = { auth: {