aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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{},