diff options
author | Frederick Muriuki Muriithi | 2024-03-30 05:01:26 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-03-30 05:01:26 +0300 |
commit | fba726ebb987bf8b5c015f2df18be0c78ea32f7d (patch) | |
tree | 52fbf51b9f7aaebd080342ae634716236008cdee /gn_auth/auth/authorisation | |
parent | e21b61b990e9137259a0dbb83b37d7a6cf753565 (diff) | |
download | gn-auth-fba726ebb987bf8b5c015f2df18be0c78ea32f7d.tar.gz |
Update call: Drop unused argument in call.
Diffstat (limited to 'gn_auth/auth/authorisation')
-rw-r--r-- | gn_auth/auth/authorisation/resources/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
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): |