fix: test e2e #1276

Merged
vicent merged 7 commits from fix_e2e_item.tags into dev 2023-01-30 13:36:10 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit a1e86f2bd6 - Show all commits

View File

@ -24,7 +24,7 @@ module.exports = Self => {
if (typeof options == 'object')
Object.assign(myOptions, options);
let statesList = await models.State.find({where: filter.where}, myOptions);
let statesList = await models.State.find(filter, myOptions);
const isProduction = await models.Account.hasRole(userId, 'production', myOptions);
const isSalesPerson = await models.Account.hasRole(userId, 'salesPerson', myOptions);
const isAdministrative = await models.Account.hasRole(userId, 'administrative', myOptions);