fix: update credential name to use camelCase (kDriveApi)
- Changed credential name from 'kdriveApi' to 'kDriveApi' for consistency - Updated all references in KDrive node and credentials - This may resolve the credential discovery issue
This commit is contained in:
@@ -27,7 +27,7 @@ export class KDrive implements INodeType {
|
||||
outputs: ['main'],
|
||||
credentials: [
|
||||
{
|
||||
name: 'kdriveApi',
|
||||
name: 'kDriveApi',
|
||||
required: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
@@ -356,7 +356,7 @@ export class KDrive implements INodeType {
|
||||
const resource = this.getNodeParameter('resource', 0) as string;
|
||||
const operation = this.getNodeParameter('operation', 0) as string;
|
||||
|
||||
const credentials = await this.getCredentials('kdriveApi');
|
||||
const credentials = await this.getCredentials('kDriveApi');
|
||||
|
||||
for (let i = 0; i < items.length; i++) {
|
||||
try {
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class KDriveCredentials implements ICredentialType {
|
||||
name = 'kdriveApi';
|
||||
name = 'kDriveApi';
|
||||
displayName = 'kDrive API';
|
||||
documentationUrl = 'https://developer.infomaniak.com';
|
||||
properties: INodeProperties[] = [
|
||||
|
||||
Reference in New Issue
Block a user