Skip to content

Commit

Permalink
fix(file): allow application/x-zip-compressed files to be uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
balzdur committed Jun 6, 2024
1 parent 1ce0e5a commit 4bb3206
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usecases/case_usecase.go
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ func validateFileType(file *multipart.FileHeader) error {
"application/vnd.openxmlformats-officedocument.",
"application/msword",
"application/zip",
"application/x-zip-compressed",
"application/pdf",
"image/",
}
Expand Down

0 comments on commit 4bb3206

Please sign in to comment.