Actually, we want that nil
Stephen Paul Weber
created
Without it, the item ends up being NotLoaded, which is wrong.
Change summary
lib/bwmsgsv2_repo.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Detailed changes
@@ -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