summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/api_v1
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_api/controllers/api_v1')
-rw-r--r--indoteknik_api/controllers/api_v1/manufacture.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_api/controllers/api_v1/manufacture.py b/indoteknik_api/controllers/api_v1/manufacture.py
index 3188f671..8dea6a4f 100644
--- a/indoteknik_api/controllers/api_v1/manufacture.py
+++ b/indoteknik_api/controllers/api_v1/manufacture.py
@@ -14,8 +14,8 @@ class Manufacture(controller.Controller):
query = []
- limit = int(kw.get('limit'))
- offset = int(kw.get('offset'))
+ limit = int(kw.get('limit', 0))
+ offset = int(kw.get('offset', 0))
level = kw.get('level')
if level: