chore: uploader service
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user