mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(core): Add support for signed URLs for binary data (#14492)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Container } from '@n8n/di';
|
||||
import { readFileSync, readdirSync, mkdtempSync } from 'fs';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { get } from 'lodash';
|
||||
import { isEmpty } from 'lodash';
|
||||
import { BinaryDataService, constructExecutionMetaData } from 'n8n-core';
|
||||
@@ -36,7 +37,7 @@ export function createTemporaryDir(prefix = 'n8n') {
|
||||
}
|
||||
|
||||
export async function initBinaryDataService() {
|
||||
const binaryDataService = new BinaryDataService();
|
||||
const binaryDataService = new BinaryDataService(mock(), mock());
|
||||
await binaryDataService.init({
|
||||
mode: 'default',
|
||||
availableModes: ['default'],
|
||||
|
||||
Reference in New Issue
Block a user