|
|
@@ -9,7 +9,6 @@ import type { MultipartFile } from '@fastify/multipart';
|
|
|
import { MongoPrismaService } from '@box/db/prisma/mongo-prisma.service';
|
|
|
import ExcelJS from 'exceljs';
|
|
|
import * as XLSX from 'xlsx';
|
|
|
-import type { Express } from 'express';
|
|
|
import { CacheSyncService } from '../../../cache-sync/cache-sync.service';
|
|
|
import { CacheEntityType } from '../../../cache-sync/cache-sync.types';
|
|
|
import { MediaManagerService } from '@box/core/media-manager/media-manager.service';
|
|
|
@@ -302,7 +301,7 @@ export class VideoMediaService {
|
|
|
return Buffer.isBuffer(buffer) ? buffer : Buffer.from(buffer);
|
|
|
}
|
|
|
|
|
|
- async importExcelTags(file: Express.Multer.File) {
|
|
|
+ async importExcelTags(file: Buffer) {
|
|
|
if (!file?.buffer) {
|
|
|
throw new BadRequestException('No file uploaded');
|
|
|
}
|