diff --git a/src/app/api/admin/RulesController.ts b/src/app/api/admin/RulesController.ts index ca0e9d90..55526601 100644 --- a/src/app/api/admin/RulesController.ts +++ b/src/app/api/admin/RulesController.ts @@ -27,11 +27,6 @@ export default class RulesController extends ApiController { query = JSON.parse(req.query["q"] as string); } - query.where = { - ...query.where, - namespace: "notary", - }; - //call service to get prisma entity const rulesEntities = await this.rulesService.get(query); @@ -63,11 +58,6 @@ export default class RulesController extends ApiController { query = JSON.parse(req.query["q"] as string); } - query.where = { - ...query.where, - namespace: "notary", - }; - const ruleEntity = await this.rulesService.getByUid(uid, query); if (!ruleEntity) {