refactor: replace direct Paperless upload with client-side document download functionality
Build and Push Multi-Platform Images / build-and-push (push) Successful in 36s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 36s
This commit is contained in:
@@ -107,17 +107,8 @@ export const inboxApi = {
|
||||
)
|
||||
.then((r) => r.data),
|
||||
|
||||
saveToPaperless: (
|
||||
id: string,
|
||||
body: {
|
||||
title: string;
|
||||
date?: string;
|
||||
documentTypeId?: number;
|
||||
correspondentId?: number;
|
||||
tagIds?: number[];
|
||||
},
|
||||
) =>
|
||||
api.post(`/api/inbox/${encodeURIComponent(id)}/save-to-paperless`, body).then(() => {}),
|
||||
downloadBlob: (id: string) =>
|
||||
api.get<Blob>(`/api/inbox/${encodeURIComponent(id)}/download`, { responseType: 'blob' }).then((r) => r.data),
|
||||
|
||||
sendEmail: (
|
||||
id: string,
|
||||
|
||||
Reference in New Issue
Block a user