updated to store and recall asset claim info and requests
This commit is contained in:
parent
6c10eeef71
commit
489153fcde
10 changed files with 196 additions and 155 deletions
react/api
|
@ -23,4 +23,14 @@ export function getLongClaimId (name, modifier) {
|
|||
const url = `/api/claim/long-id`;
|
||||
// return the request promise
|
||||
return Request(url, params);
|
||||
}
|
||||
};
|
||||
|
||||
export function getShortId (name, claimId) {
|
||||
const url = `/api/claim/short-id/${claimId}/${name}`;
|
||||
return Request(url);
|
||||
};
|
||||
|
||||
export function getClaimData (name, claimId) {
|
||||
const url = `/api/claim/data/${name}/${claimId}`;
|
||||
return Request(url);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue