Skip to content

Commit

Permalink
subsets link fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudis committed Oct 10, 2024
1 parent e70854d commit 214cb0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hooks/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,12 @@ export function getDataItemUrl(id, entity, datasetIds) {
return `${SITE_DEFAULTS.API_PATH}beacon/${entity}/${id}/?datasetIds=${datasetIds}`
}

export function useServiceItemDelivery(id, entity, datasetIds) {
return useProgenetixApi(getServiceItemUrl(id, entity, datasetIds))
export function useServiceItemDelivery(id, service, datasetIds) {
return useProgenetixApi(getServiceItemUrl(id, service, datasetIds))
}

export function getServiceItemUrl(id, collection, datasetIds) {
return `${SITE_DEFAULTS.API_PATH}services/${collection}?id=${id}&datasetIds=${datasetIds}`
export function getServiceItemUrl(id, service, datasetIds) {
return `${SITE_DEFAULTS.API_PATH}services/${service}?filters=${id}&datasetIds=${datasetIds}`
}

export function NoResultsHelp(entity) {
Expand Down

0 comments on commit 214cb0e

Please sign in to comment.