From e748d11bfd2232b77aeb5dae0d1e76ebb2988afb Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 9 Feb 2017 14:07:40 +0100 Subject: Update the column name transcrib_file to audio_name --- web/views/audio_file_api_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/views/audio_file_api_view.ex') diff --git a/web/views/audio_file_api_view.ex b/web/views/audio_file_api_view.ex index f5dbba9..1042be0 100644 --- a/web/views/audio_file_api_view.ex +++ b/web/views/audio_file_api_view.ex @@ -14,7 +14,7 @@ defmodule TheTranscriberBackend.AudioFileAPIView do def render("audio_file_api.json", %{audio_file_api: audio_file_api}) do %{id: audio_file_api.id, audio_path: audio_file_api.audio_path, - audio_transcription_file_path: audio_file_api.transcription_file_path, + audio_name: audio_file_api.audio_name, audio_duration: audio_file_api.audio_duration} end end -- cgit v1.2.1