Skip to content

Commit

Permalink
remove logger .info
Browse files Browse the repository at this point in the history
  • Loading branch information
goemen committed Sep 24, 2024
1 parent 8d2413f commit be84160
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/src/v1/middlewares/storage/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const useUpload = (options: Options) => {
try {
const s3 = new S3Client(S3_OPTIONS);
const filePath = fs.realpathSync(PATH.resolve(os.tmpdir(), path));
logger.info(`File path: ${filePath}`);
if (!filePath.startsWith(os.tmpdir())) {
logger.error('File path is not starting with temp directory.');
res.statusCode = 403;
Expand Down

0 comments on commit be84160

Please sign in to comment.