mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 04:09:12 +00:00
fix(Servers API): .contains -> .includes
This commit is contained in:
parent
6e692826c0
commit
e2d63dc156
1 changed files with 1 additions and 2 deletions
|
@ -146,5 +146,4 @@ module.exports = (R, $) => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const arrayMatches = (a, b) =>
|
const arrayMatches = (a, b) => a.length === b.length && a.reduce((_, aValue) => b.includes(aValue), true)
|
||||||
a.length === b.length && a.reduce((_, aValue) => b.contains(aValue), true)
|
|
Loading…
Add table
Reference in a new issue