From 9051fd91976aacef5c8e4ead9aef5cec78281047 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Sat, 6 Jul 2024 09:26:52 -0500 Subject: [PATCH] Fix that --- lib/trivial_backend_sgx_repo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/trivial_backend_sgx_repo.rb b/lib/trivial_backend_sgx_repo.rb index 7747aafe0af78a2874333256721a8d329d27dd2c..d25bb28155cb9cdd6169cae321ef21df16d462bc 100644 --- a/lib/trivial_backend_sgx_repo.rb +++ b/lib/trivial_backend_sgx_repo.rb @@ -24,7 +24,7 @@ class TrivialBackendSgxRepo def get(customer_id, tel: nil) use_jid(customer_id).then do |sgx_jid| - creds = sgx_jid ? CONFIG[:sgx_creds][sgx_jid.to_sym] : @creds + creds = sgx_jid ? CONFIG[:sgx_creds][sgx_jid.to_s.to_sym] : @creds BackendSgx.new( jid: sgx_jid ? Blather::JID.new(sgx_jid) : @jid, creds: creds, from_jid: Blather::JID.new("customer_#{customer_id}", @component_jid),