Hanging protocol improvements on matching process and other improvements
This commit is contained in:
1 parent
744a0bd76e
commit
35b855de56
18 files changed
+881
-793
No files matched your search
@@ -71,7 +71,7 @@ const match = (metadataInstance, rules) => {
|
||||
// If no errorMessages were returned, then validation passed.
|
||||
|
||||
// Add the rule's weight to the total score
|
||||
score += rule.weight;
|
||||
score += parseInt(rule.weight, 10);
|
||||
|
||||
// Log that this rule passed in the matching details object
|
||||
details.passed.push({
|
||||
|
||||
Reference in new issue
Block a user