From 72cdabf4aecd6b10a1e16fb147de3266138c4b44 Mon Sep 17 00:00:00 2001 From: Pat Losoponkul Date: Fri, 5 Jul 2024 17:55:57 +0700 Subject: [PATCH] fix: use Put and Get for did in query Signed-off-by: Pat Losoponkul --- .../identus/agent/walletapi/sql/JdbcDIDNonSecretStorage.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-agent/service/wallet-api/src/main/scala/org/hyperledger/identus/agent/walletapi/sql/JdbcDIDNonSecretStorage.scala b/cloud-agent/service/wallet-api/src/main/scala/org/hyperledger/identus/agent/walletapi/sql/JdbcDIDNonSecretStorage.scala index c2e3f44611..4bc6154035 100644 --- a/cloud-agent/service/wallet-api/src/main/scala/org/hyperledger/identus/agent/walletapi/sql/JdbcDIDNonSecretStorage.scala +++ b/cloud-agent/service/wallet-api/src/main/scala/org/hyperledger/identus/agent/walletapi/sql/JdbcDIDNonSecretStorage.scala @@ -429,7 +429,7 @@ class JdbcDIDNonSecretStorage(xa: Transactor[ContextAwareTask], xb: Transactor[T | wallet_id | FROM public.prism_did_wallet_state | WHERE - | did = ${prismDid.toString} + | did = ${prismDid} """.stripMargin .query[WalletId] .option