🎨 ♻️ deleteDocument, reponse types

This commit is contained in:
Timur Ercan
2023-03-01 15:31:43 +01:00
parent 9bd409e113
commit 891f032468
6 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,4 @@
export const getDocuments = (): any => {
export const getDocuments = (): Promise<Response> => {
return fetch("/api/documents", {
headers: {
"Content-Type": "application/json",