From 0e75ca4374ea37a54a4220b43d9b48d29d39fef8 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 21 Mar 2022 11:28:29 -0500 Subject: [PATCH] Strip lidb name --- lib/configure_calls_form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/configure_calls_form.rb b/lib/configure_calls_form.rb index 3c0ee09..9a3519f 100644 --- a/lib/configure_calls_form.rb +++ b/lib/configure_calls_form.rb @@ -21,7 +21,7 @@ class ConfigureCallsForm result[:transcription_enabled] = ["1", "true"].include?(params["voicemail_transcription"]) end - result[:lidb_name] = params["lidb_name"] if lidb_guard(params) + result[:lidb_name] = params["lidb_name"].strip if lidb_guard(params) end end -- 2.45.2