From fba726ebb987bf8b5c015f2df18be0c78ea32f7d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Sat, 30 Mar 2024 05:01:26 +0300 Subject: Update call: Drop unused argument in call. --- gn_auth/auth/authorisation/resources/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gn_auth') diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py index 9e06aa8..9186380 100644 --- a/gn_auth/auth/authorisation/resources/models.py +++ b/gn_auth/auth/authorisation/resources/models.py @@ -253,8 +253,7 @@ def link_data_to_resource( "mrna": mrna_link_data_to_resource, "genotype": genotype_link_data_to_resource, "phenotype": phenotype_link_data_to_resource, - }[dataset_type.lower()]( - conn, resource, resource_owner(conn, resource), data_link_id) + }[dataset_type.lower()](conn, resource, data_link_id) def unlink_data_from_resource( conn: db.DbConnection, user: User, resource_id: UUID, data_link_id: UUID): -- cgit v1.2.3