fix: compliance fixes
This commit is contained in:
parent
c45241471e
commit
118852a433
5 changed files with 10 additions and 8 deletions
|
|
@ -6,4 +6,8 @@ function getBackwardsCompatibleTriggers (triggers) {
|
|||
return _.mapValues(_.compose(_.get('threshold'), _.minBy('threshold')))(grouped)
|
||||
}
|
||||
|
||||
module.exports = { getBackwardsCompatibleTriggers}
|
||||
function hasSanctions (triggers) {
|
||||
return _.some(_.matches({ requirement: 'sanctions' }))(triggers)
|
||||
}
|
||||
|
||||
module.exports = { getBackwardsCompatibleTriggers, hasSanctions }
|
||||
Loading…
Add table
Add a link
Reference in a new issue