summaryrefslogtreecommitdiff
path: root/api/opendc/models/prefab.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/opendc/models/prefab.py')
-rw-r--r--api/opendc/models/prefab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/opendc/models/prefab.py b/api/opendc/models/prefab.py
index 2d20208c..3d5dcf54 100644
--- a/api/opendc/models/prefab.py
+++ b/api/opendc/models/prefab.py
@@ -28,5 +28,5 @@ class Prefab(Model):
# OpenDC-authored objects don't necessarily have an authorId
# return
- def get_all():
- return DB.fetch_all({}, Prefab.collection_name)
+ def get_all(query):
+ return DB.fetch_all(query, Prefab.collection_name)