diff --git a/services/loopback/common/models/warehouse.js b/services/loopback/common/models/warehouse.js deleted file mode 100644 index ac6c4d03a1..0000000000 --- a/services/loopback/common/models/warehouse.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = Self => { - Self.defineScope({where: {isManaged: {neq: 0}}}); -}; diff --git a/services/loopback/common/models/warehouse.json b/services/loopback/common/models/warehouse.json index 789d5c7f88..2285caf920 100644 --- a/services/loopback/common/models/warehouse.json +++ b/services/loopback/common/models/warehouse.json @@ -31,7 +31,5 @@ "permission": "ALLOW" } ], - "scopes" : { - "production" : {"where": {"isManaged": {"neq": 0}}} - } + "scope" : {"where": {"isManaged": {"neq": 0}}} }