From fc3287d7ad66e0b1551b3c1e5e4d55918cfdcc12 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 12 Oct 2023 10:18:05 +0300 Subject: Bugs: Fix query and provide default function for inbredset-group --- gn_auth/auth/authorisation/resources/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn_auth/auth/authorisation/resources') diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py index 25ae0fd..a9d1378 100644 --- a/gn_auth/auth/authorisation/resources/models.py +++ b/gn_auth/auth/authorisation/resources/models.py @@ -291,7 +291,8 @@ def attach_resources_data( "genotype": genotype_attach_resources_data, "phenotype": phenotype_attach_resources_data, "system": lambda *args: [], - "group": lambda *args: [] + "group": lambda *args: [], + "inbredset-group": lambda *args: [] } organised = organise_resources_by_category(resources) with db.cursor(conn) as cursor: -- cgit v1.2.3