aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/authorisation/resources/models.py')
-rw-r--r--gn_auth/auth/authorisation/resources/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py
index 6d8e008..a16ca16 100644
--- a/gn_auth/auth/authorisation/resources/models.py
+++ b/gn_auth/auth/authorisation/resources/models.py
@@ -181,7 +181,8 @@ def resource_data(conn, resource, offset: int = 0, limit: Optional[int] = None)
resource_data_function = {
"mrna": mrna_resource_data,
"genotype": genotype_resource_data,
- "phenotype": phenotype_resource_data
+ "phenotype": phenotype_resource_data,
+ "system": lambda *args: tuple()
}
with db.cursor(conn) as cursor:
return tuple(