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:
2025-12-23 10:22:10 +01:00
parent a57f51b847
commit 89800687a2
2 changed files with 3 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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[] = [