mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Mattermost Node): Fix base url trailing slash error (#6097)
* 🐛 Fix credential base url with trailing slash
* Fix credential test base url with trailing slash
This commit is contained in:
@@ -46,7 +46,7 @@ export class MattermostApi implements ICredentialType {
|
||||
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: '={{$credentials.baseUrl}}/api/v4',
|
||||
baseURL: '={{$credentials.baseUrl.replace(/\\/$/, "")}}/api/v4',
|
||||
url: '/users',
|
||||
skipSslCertificateValidation: '={{$credentials?.allowUnauthorizedCerts}}',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user