Fix that

Stephen Paul Weber created

Change summary

lib/trivial_backend_sgx_repo.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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),