| 1234567891011121314 |
- export const insetPemeriksaan = async ({ number, ptId }, data) => {
- try {
- const requestOptions = {
- method: "POST",
- body: data,
- };
- const res = await fetch(`http://localhost:5000/pelaporan/pemeriksaan/create?number=${number}&ptId=${ptId}`, requestOptions);
- return await res.json();
- } catch (error) {
- console.log("error", error);
- return false;
- }
- };
|