sgx_jmp.rb 🔗
@@ -1050,7 +1050,7 @@ Command.new(
"https://ns.cheogram.com/sgx/jid-switch",
"Change JID",
list_for: lambda { |customer: nil, from_jid: nil, **|
- customer || from_jid.to_s =~ /onboarding.cheogram.com/
+ customer || from_jid.to_s =~ Regexp.new(CONFIG[:onboarding_domain])
},
customer_repo: CustomerRepo.new(sgx_repo: Bwmsgsv2Repo.new)
) {