From 2ce30b5b11f7910d59b713065ba9c6c615071626 Mon Sep 17 00:00:00 2001 From: Jake Hartnell Date: Mon, 20 Nov 2023 17:00:39 +0100 Subject: [PATCH] Another merge fixup --- contracts/pre-propose/dao-pre-propose-approver/src/contract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/pre-propose/dao-pre-propose-approver/src/contract.rs b/contracts/pre-propose/dao-pre-propose-approver/src/contract.rs index 2d404ba3f..4dddbb545 100644 --- a/contracts/pre-propose/dao-pre-propose-approver/src/contract.rs +++ b/contracts/pre-propose/dao-pre-propose-approver/src/contract.rs @@ -195,7 +195,7 @@ pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { to_json_binary(&PROPOSAL_ID_TO_PRE_PROPOSE_ID.may_load(deps.storage, id)?) } QueryExt::ApproverProposalIdForPreProposeApprovalId { id } => { - to_binary(&PRE_PROPOSE_ID_TO_PROPOSAL_ID.may_load(deps.storage, id)?) + to_json_binary(&PRE_PROPOSE_ID_TO_PROPOSAL_ID.may_load(deps.storage, id)?) } }, _ => PrePropose::default().query(deps, env, msg),