aboutsummaryrefslogtreecommitdiff
path: root/web/controllers/audio_file_controller.ex
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-02-06 16:52:00 +0100
committerneodarz <neodarz@neodarz.net>2017-02-06 16:52:00 +0100
commit120bf89930ce7e136ba0b0499bce7b0f8b95f296 (patch)
treed86d7320d75f33fac32b897277296f5a6c80e645 /web/controllers/audio_file_controller.ex
parent663d70f2d9d917ac5f89faebc289a664b7dcc22a (diff)
downloadthe_transcriber_backend-120bf89930ce7e136ba0b0499bce7b0f8b95f296.tar.xz
the_transcriber_backend-120bf89930ce7e136ba0b0499bce7b0f8b95f296.zip
Add a not secure function for upload files with curl
Diffstat (limited to '')
-rw-r--r--web/controllers/audio_file_controller.ex2
1 files changed, 0 insertions, 2 deletions
diff --git a/web/controllers/audio_file_controller.ex b/web/controllers/audio_file_controller.ex
index db90da7..1c2acb9 100644
--- a/web/controllers/audio_file_controller.ex
+++ b/web/controllers/audio_file_controller.ex
@@ -23,8 +23,6 @@ defmodule TheTranscriberBackend.AudioFileController do
transcription_file_path: transcription_file_path,
audio_duration: audio_duration})
- IO.inspect changeset
-
case Repo.insert(changeset) do
{:ok, _audio_file} ->
conn