Skip to content

Commit

Permalink
[TASK] Create unique exception code
Browse files Browse the repository at this point in the history
  • Loading branch information
torben-fr authored and Riiiad committed Jul 23, 2024
1 parent 776342c commit 113941e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function validateUploadedFile(array $uploadedFileInformation, string $ma
throw new TypeConverterException('Uploaded file exceeds allowed file size', 1690538138);
}
if (!in_array($uploadedFileInformation['type'], $allowedMimeTypesArray, true)) {
throw new TypeConverterException('The uploaded file type is not allowed', 1690538138);
throw new TypeConverterException('The uploaded file type is not allowed', 1721647425);
}
}

Expand Down

0 comments on commit 113941e

Please sign in to comment.