mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
fix(Zulip Node): Remove trailing slash from the url (#6427)
This commit is contained in:
parent
10bb5be542
commit
cc1b249d58
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue