summaryrefslogtreecommitdiff
path: root/api/opendc/models/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/opendc/models/model.py')
-rw-r--r--api/opendc/models/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/opendc/models/model.py b/api/opendc/models/model.py
index bcb833ae..32159ca3 100644
--- a/api/opendc/models/model.py
+++ b/api/opendc/models/model.py
@@ -25,7 +25,7 @@ class Model:
def get_id(self):
"""Returns the ID of the enclosed object."""
- return str(self.obj['_id'])
+ return self.obj['_id']
def check_exists(self):
"""Raises an error if the enclosed object does not exist."""