add n8n credential test + migrate to new API endpoint (#2427)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {
|
||||
IAuthenticateGeneric,
|
||||
ICredentialTestRequest,
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
@@ -35,4 +36,10 @@ export class SkyvernApi implements ICredentialType {
|
||||
}
|
||||
},
|
||||
};
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: '={{$credentials?.baseUrl}}',
|
||||
url: '/api/v1/organizations',
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user