diff --git a/apps/server/src/integrations/storage/storage.service.ts b/apps/server/src/integrations/storage/storage.service.ts index acbd2188..fe4c1cb5 100644 --- a/apps/server/src/integrations/storage/storage.service.ts +++ b/apps/server/src/integrations/storage/storage.service.ts @@ -14,6 +14,11 @@ export class StorageService { this.logger.debug(`File uploaded successfully. Path: ${filePath}`); } + async copy(fromFilePath: string, toFilePath: string) { + await this.storageDriver.copy(fromFilePath, toFilePath); + this.logger.debug(`File copied successfully. Path: ${toFilePath}`); + } + async read(filePath: string): Promise { return this.storageDriver.read(filePath); }