refactor: collision
This commit is contained in:
parent
85ac479506
commit
a8ce85f1b2
|
@ -181,7 +181,7 @@ export default (latus) => class EntityList extends decorate(JsonResource) {
|
|||
for (let i = 0; i < candidates.length; ++i) {
|
||||
const entity = candidates[i];
|
||||
const clone = context.clone();
|
||||
clone.add('entity', entity);
|
||||
clone.add('query', entity);
|
||||
if (!check(clone)) {
|
||||
fails.push(entity);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user