chore: uploader service

This commit is contained in:
Matin
2025-01-26 16:08:52 +03:30
parent d6985fff26
commit e4425a07d6
13 changed files with 1426 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
import { Injectable } from "@nestjs/common";
import { S3Service } from "../utils/providers/s3.service";
@Injectable()
export class UploaderService {
constructor(private s3Service: S3Service) {}
async upload(file: any) {
return await this.s3Service.upload(file);
}
}