feat: boton sincronizar respuestas por correo

This commit is contained in:
Nurfog committed 2026-09-14 15:51:33 -03:00
1 parent 2594c6a315
commit 2502de4e06
2 files changed
+62

No files matched your search

+10
View File
@@ -383,3 +383,13 @@ export async function sendTestEmail(to: string) {
body: JSON.stringify({ to }),
});
}
export async function syncInboundEmail() {
return fetchApi<{
success: boolean;
checkedCount: number;
inserted: number;
skipped: number;
error?: string;
}>("/api/helpdesk/email/inbound/sync", { method: "POST" });
}