From d622bc0fefd0e000b73d0c5dbd7b73bad6e560e2 Mon Sep 17 00:00:00 2001 From: Christopher Vollick <0@psycoti.ca> Date: Wed, 31 Aug 2022 11:56:28 -0400 Subject: [PATCH] Transcription Retry Metadata Uses Symbols We transform the keys into symbols, but then index with a string. --- lib/rev_ai.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rev_ai.rb b/lib/rev_ai.rb index 1fc7ed8..3785a0f 100644 --- a/lib/rev_ai.rb +++ b/lib/rev_ai.rb @@ -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 -- 2.45.2