spee.ch/react/api/fileApi.js

12 lines
305 B
JavaScript
Raw Normal View History

2018-02-07 06:55:04 +01:00
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);
}