feat: add manual Paperless ID synchronization for email attachments and update default barcode margins to 7mm.
Build and Push Multi-Platform Images / build-and-push (push) Successful in 36s

This commit is contained in:
2026-05-18 09:14:26 +02:00
parent 76ce4cf900
commit 11bed63bad
6 changed files with 78 additions and 34 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ export const emailsApi = {
triggerFetch: () =>
api.post<{ message: string }>('/api/emails/fetch').then((r) => r.data),
checkAttachments: () =>
api.post<{ updatedCount: number }>('/api/emails/check-attachments').then((r) => r.data),
checkAttachments: (includeProcessed = false) =>
api.post<{ updatedCount: number; idsUpdated: number }>('/api/emails/check-attachments', { includeProcessed }).then((r) => r.data),
updateStatus: (id: number, status: number) =>
api.patch<{ message?: string }>(`/api/emails/${id}/status`, { status }).then((r) => r.data),