aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-02-27 12:04:58 +0100
committerneodarz <neodarz@neodarz.net>2017-02-27 12:04:58 +0100
commit6802b695ddc020e729b9a1044d4119c07a5884fa (patch)
treef6bfd1f4b647d085aa7a8aac408fff54e5b69a55 /web
parent54d7c6bfd0d93bf4a02a510bed5e691f4b4bab99 (diff)
downloadthe_transcriber_backend-6802b695ddc020e729b9a1044d4119c07a5884fa.tar.xz
the_transcriber_backend-6802b695ddc020e729b9a1044d4119c07a5884fa.zip
Remove the check of duration
Diffstat (limited to '')
-rw-r--r--web/controllers/audio_file_api_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/controllers/audio_file_api_controller.ex b/web/controllers/audio_file_api_controller.ex
index 5bafbf1..436c6e9 100644
--- a/web/controllers/audio_file_api_controller.ex
+++ b/web/controllers/audio_file_api_controller.ex
@@ -9,7 +9,7 @@ defmodule TheTranscriberBackend.AudioFileAPIController do
render(conn, "index.json", audio_file_api: audio_file_api)
end
- def create(conn, %{"audio_file" => %{"audio_duration" => audio_duration, "audio_path" => upload, "audio_name" => audio_name}}) do
+ def create(conn, %{"audio_file" => %{"audio_path" => upload, "audio_name" => audio_name}}) do
path = "/media/phoenix_test/"
changeset = AudioFile.changeset(%AudioFile{},