spee.ch/react/api/fileApi.js
2018-02-06 21:55:04 -08:00

11 lines
305 B
JavaScript

import Request from 'utils/request';
export function checkFileAvailability (name, claimId) {
const url = `/api/file/availability/${name}/${claimId}`;
return Request(url);
}
export function triggerClaimGet (name, claimId) {
const url = `/api/claim/get/${name}/${claimId}`;
return Request(url);
}