mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
refactor(core): Move isObjectLiteral to @n8n/backend-common (#15414)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { isObjectLiteral } from '@n8n/backend-common';
|
||||
import { Container } from '@n8n/di';
|
||||
import type { ICredentialDataDecryptedObject, ICredentialsEncrypted } from 'n8n-workflow';
|
||||
import { ApplicationError, ICredentials, jsonParse } from 'n8n-workflow';
|
||||
@@ -5,7 +6,6 @@ import * as a from 'node:assert';
|
||||
|
||||
import { CREDENTIAL_ERRORS } from '@/constants';
|
||||
import { Cipher } from '@/encryption/cipher';
|
||||
import { isObjectLiteral } from '@/utils';
|
||||
|
||||
export class CredentialDataError extends ApplicationError {
|
||||
constructor({ name, type, id }: Credentials<object>, message: string, cause?: unknown) {
|
||||
|
||||
Reference in New Issue
Block a user