~singpolyma/sgx-jmp

5ca04fe9c9feafd3f169de5daec9b388b0417719 — Stephen Paul Weber 9 months ago 0c7dffd
Actually, we want that nil

Without it, the item ends up being NotLoaded, which is wrong.
1 files changed, 2 insertions(+), 2 deletions(-)

M lib/bwmsgsv2_repo.rb
M lib/bwmsgsv2_repo.rb => lib/bwmsgsv2_repo.rb +2 -2
@@ 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