aboutsummaryrefslogtreecommitdiffstats
path: root/app/api/responders/resource/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/api/responders/resource/constants.py')
-rw-r--r--app/api/responders/resource/constants.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/api/responders/resource/constants.py b/app/api/responders/resource/constants.py
index be71b5d..26fbbc3 100644
--- a/app/api/responders/resource/constants.py
+++ b/app/api/responders/resource/constants.py
@@ -12,10 +12,9 @@ from bson.objectid import ObjectId
class Constants(ResponderBase):
- def __init__(self):
- super().__init__()
- self.ID = '_id'
- self.COLLECTION = 'constants'
+
+ COLLECTION = 'constants'
+ ID = '_id'
def on_get(self, req, resp):
self.log.debug("Getting constants with name")