Skip to content

Commit 67460bc

Browse files
authored
Update Proposal.hs - making sure it does exact txhash match
Signed-off-by: bosko-m <[email protected]>
1 parent 4f15878 commit 67460bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

govtool/backend/src/VVA/Proposal.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ getProposals mSearchTerms = withPool $ \conn -> do
8787
, "%" <> searchParam <> "%"
8888
, "%" <> searchParam <> "%"
8989
, "%" <> searchParam <> "%"
90-
, "%" <> searchParam <> "%"
90+
, searchParam
9191
)
9292
case result of
9393
Left (e :: SomeException) -> do
@@ -125,4 +125,4 @@ getPreviousEnactedProposal proposalType = withPool $ \conn -> do
125125
liftIO $ putStrLn $ "[DEBUG] Previous enacted proposal details: " ++ show details
126126
Nothing ->
127127
liftIO $ putStrLn "[DEBUG] No previous enacted proposal found"
128-
return proposal
128+
return proposal

0 commit comments

Comments
 (0)