mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
6 lines
155 B
TypeScript
6 lines
155 B
TypeScript
export const deleteDocument = (documentId: number): Promise<Response> => {
|
|
return fetch(`/api/documents/${documentId}`, {
|
|
method: "DELETE",
|
|
});
|
|
};
|