File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -326,8 +326,8 @@ func (repo OpenSanctionsRepository) buildQueryString(cfg *models.SanctionCheckCo
326
326
if query != nil {
327
327
// Unless determined otherwise, we do not need those results that are *not*
328
328
// matches. They could still be filtered further down the chain, but we do not need them returned.
329
- qs .Set ("threshold" , fmt .Sprintf ("%.1f " , float64 (query .OrgConfig .MatchThreshold )/ 100 ))
330
- qs .Set ("cutoff" , fmt .Sprintf ("%.1f " , float64 (query .OrgConfig .MatchThreshold )/ 100 ))
329
+ qs .Set ("threshold" , fmt .Sprintf ("%.2f " , float64 (query .OrgConfig .MatchThreshold )/ 100 ))
330
+ qs .Set ("cutoff" , fmt .Sprintf ("%.2f " , float64 (query .OrgConfig .MatchThreshold )/ 100 ))
331
331
332
332
qs .Set ("limit" , fmt .Sprintf ("%d" , query .OrgConfig .MatchLimit + query .LimitIncrease ))
333
333
}
You can’t perform that action at this time.
0 commit comments