~singpolyma/sgx-jmp

d622bc0fefd0e000b73d0c5dbd7b73bad6e560e2 — Christopher Vollick 1 year, 9 months ago 470beb3
Transcription Retry Metadata Uses Symbols

We transform the keys into symbols, but then index with a string.
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/rev_ai.rb
M lib/rev_ai.rb => lib/rev_ai.rb +1 -1
@@ 92,7 92,7 @@ protected

	def retry_as_en(metadata, url)
		@log.info "Retry transcription as EN"
		stt("en", metadata["media_url"], url, **metadata.merge(retry: true)).then do
		stt("en", metadata[:media_url], url, **metadata.merge(retry: true)).then do
			{}
		end
	end