mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Fix misspelling of credentials (#3479)
This commit is contained in:
@@ -20,7 +20,7 @@ import {
|
||||
linearApiRequest,
|
||||
linearApiRequestAllItems,
|
||||
sort,
|
||||
validateCrendetials,
|
||||
validateCredentials,
|
||||
} from './GenericFunctions';
|
||||
|
||||
import {
|
||||
@@ -79,7 +79,7 @@ export class Linear implements INodeType {
|
||||
credentialTest: {
|
||||
async linearApiTest(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) {
|
||||
const { error: err } = error as JsonObject;
|
||||
const errors = (err as IDataObject).errors as [{ extensions: { code: string } }];
|
||||
|
||||
Reference in New Issue
Block a user