Skip to content

Commit

Permalink
rm unused
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Sep 13, 2023
1 parent 68e61d0 commit 8f35d81
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libs/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,6 @@ export const DataSet = {
return await res.json();
},

getDatasetsAsCustodian: async () => {
const url = `${await getApiUrl()}/api/dataset/v2?asCustodian=true`;
const res = await fetchOk(url, Config.authOpts());
return await res.json();
},

getDatasetsByIds: async (ids) => {
const url = `${await getApiUrl()}/api/dataset/batch?ids=${ids.join('&ids=')}`;
const res = await fetchOk(url, Config.authOpts());
Expand Down

0 comments on commit 8f35d81

Please sign in to comment.