♻️ getDocuments

This commit is contained in:
Timur Ercan
2023-03-01 15:25:51 +01:00
parent 74f5f830fe
commit 9bd409e113
3 changed files with 14 additions and 10 deletions

View File

@ -0,0 +1,7 @@
export const getDocuments = (): any => {
return fetch("/api/documents", {
headers: {
"Content-Type": "application/json",
},
});
};

View File

@ -3,3 +3,4 @@ export { deleteField } from "./deleteField";
export { signDocument } from "./signDocument";
export { getUser } from "./getUser";
export { signup } from "./signup";
export { getDocuments } from "./getDocuments";