From 5ca04fe9c9feafd3f169de5daec9b388b0417719 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Thu, 28 Oct 2021 19:10:09 -0500 Subject: [PATCH] Actually, we want that nil Without it, the item ends up being NotLoaded, which is wrong. --- lib/bwmsgsv2_repo.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bwmsgsv2_repo.rb b/lib/bwmsgsv2_repo.rb index 72a4f5f31e44fdb07e6e60cd01c39ced544090b3..3b691ab0dcb91c9206eb9e75b4eec53db900ff58 100644 --- a/lib/bwmsgsv2_repo.rb +++ b/lib/bwmsgsv2_repo.rb @@ -18,12 +18,12 @@ class Bwmsgsv2Repo def get(customer_id) sgx = @trivial_repo.get(customer_id) fetch_raw(sgx.from_jid).then do |(((ogm_url, fwd_time, fwd), trans_d), reg)| - sgx.with({ + sgx.with( ogm_url: ogm_url, fwd: CustomerFwd.for(uri: fwd, timeout: fwd_time), transcription_enabled: !trans_d, registered?: reg - }.compact) + ) end end