refactor: test moved to correct test group (#7717)

This commit is contained in:
Corey
2021-11-25 10:16:46 -08:00
committed by GitHub
parent 260290409e
commit c789f6c979
2 changed files with 21 additions and 21 deletions

View File

@@ -972,9 +972,9 @@ class DatabaseController {
});
}
if (query['$and']) {
const ors = query['$and'];
const ands = query['$and'];
return Promise.all(
ors.map((aQuery, index) => {
ands.map((aQuery, index) => {
return this.reduceInRelation(className, aQuery, schema).then(aQuery => {
query['$and'][index] = aQuery;
});