mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
♻️ getDocuments
This commit is contained in:
7
packages/lib/api/getDocuments.ts
Normal file
7
packages/lib/api/getDocuments.ts
Normal file
@ -0,0 +1,7 @@
|
||||
export const getDocuments = (): any => {
|
||||
return fetch("/api/documents", {
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
});
|
||||
};
|
||||
@ -3,3 +3,4 @@ export { deleteField } from "./deleteField";
|
||||
export { signDocument } from "./signDocument";
|
||||
export { getUser } from "./getUser";
|
||||
export { signup } from "./signup";
|
||||
export { getDocuments } from "./getDocuments";
|
||||
|
||||
Reference in New Issue
Block a user