mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Fix misspelling of credentials (#3479)
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
|
||||
import {
|
||||
dhlApiRequest,
|
||||
validateCrendetials,
|
||||
validateCredentials,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export class Dhl implements INodeType {
|
||||
@@ -103,7 +103,7 @@ export class Dhl implements INodeType {
|
||||
credentialTest: {
|
||||
async dhlApiCredentialTest(this: ICredentialTestFunctions, credential: ICredentialsDecrypted): Promise<INodeCredentialTestResult> {
|
||||
try {
|
||||
await validateCrendetials.call(this, credential.data as ICredentialDataDecryptedObject);
|
||||
await validateCredentials.call(this, credential.data as ICredentialDataDecryptedObject);
|
||||
} catch (error) {
|
||||
if (error.statusCode === 401) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user