fix(NocoDB Node): Fix for updating or deleting rows with not default primary keys

This commit is contained in:
Michael Kret
2023-04-12 16:27:19 +03:00
committed by GitHub
parent e79679c023
commit ee7f86394e
3 changed files with 85 additions and 42 deletions

View File

@@ -1,4 +1,9 @@
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
import type {
IAuthenticateGeneric,
ICredentialTestRequest,
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class NocoDbApiToken implements ICredentialType {
name = 'nocoDbApiToken';
@@ -31,4 +36,11 @@ export class NocoDbApiToken implements ICredentialType {
},
},
};
test: ICredentialTestRequest = {
request: {
baseURL: '={{ $credentials.host }}',
url: '/api/v1/auth/user/me',
},
};
}