From 9b4fd437cd754986886596e5fab777526d495694 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 19 Feb 2023 16:49:49 +1100 Subject: [PATCH] Allow video to be uploaded --- app/commands/media/upload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/commands/media/upload.rb b/app/commands/media/upload.rb index d5e5166..5c901f5 100644 --- a/app/commands/media/upload.rb +++ b/app/commands/media/upload.rb @@ -11,7 +11,7 @@ module Adamantium include Deps["settings"] include Dry::Monads[:result] - VALID_UPLOAD_TYPES = %i[jpeg jpg png gif mp4] + VALID_UPLOAD_TYPES = %i[jpeg jpg png gif mp4 iso] def call(file:) mime = FileMagic.new