chore: add guard to some routes

This commit is contained in:
Matin
2025-01-26 16:34:48 +03:30
parent bdd8ec06b4
commit 4c9748ef1a
2 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -1,12 +1,13 @@
import { Injectable } from "@nestjs/common";
import { IFile } from "../utils/interfaces/IFile";
import { S3Service } from "../utils/providers/s3.service";
@Injectable()
export class UploaderService {
constructor(private s3Service: S3Service) {}
async upload(file: any) {
async upload(file: IFile) {
return await this.s3Service.upload(file);
}
}