Commit 30ca6564 authored by Sutton's avatar Sutton
Browse files

Kind subtype must be used in dataset

parent e07ba497
......@@ -23,8 +23,8 @@ class DatasetDmsClient(BaseClient):
Holds the logic for interfacing with Data Registry Service's DMS api
"""
def get_storage_instructions(self, resource_type_id: str, bearer_token=None):
params = {'resourceType': resource_type_id}
def get_storage_instructions(self, kind_sub_type: str, bearer_token=None):
params = {'kindSubType': kind_sub_type}
return self.make_request(method=HttpMethod.GET, url='{}{}'.format(self.dataset_url, '/getStorageInstructions'),
params=params, bearer_token=bearer_token)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment