Skip to content

Commit 2053868

Browse files
committed
Update to allow for xml files
1 parent 26ac37c commit 2053868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cadet/course/materialUpload.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule Cadet.Course.MaterialUpload do
55
use Arc.Definition
66
use Arc.Ecto.Definition
77

8-
@extension_whitelist ~w(.doc .docx .jpg .pdf .png .ppt .pptx .txt .xls .xlsx)
8+
@extension_whitelist ~w(.doc .docx .jpg .pdf .png .ppt .pptx .txt .xls .xlsx .xml)
99
@versions [:original]
1010

1111
def bucket, do: :cadet |> Application.fetch_env!(:uploader) |> Keyword.get(:materials_bucket)

0 commit comments

Comments
 (0)