mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Zulip Node): Remove trailing slash from the url (#6427)
This commit is contained in:
@@ -26,7 +26,7 @@ export async function zulipApiRequest(
|
|||||||
) {
|
) {
|
||||||
const credentials = await this.getCredentials('zulipApi');
|
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 = {
|
let options: OptionsWithUri = {
|
||||||
auth: {
|
auth: {
|
||||||
|
|||||||
Reference in New Issue
Block a user