refactor: replace direct Paperless upload with client-side document download functionality
Build and Push Multi-Platform Images / build-and-push (push) Successful in 36s

This commit is contained in:
2026-05-06 09:30:53 +02:00
parent 4f1f030423
commit e08a5697f0
5 changed files with 34 additions and 137 deletions
+2 -11
View File
@@ -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,