feat: boton sincronizar respuestas por correo
This commit is contained in:
1 parent
2594c6a315
commit
2502de4e06
2 files changed
+62
No files matched your search
@@ -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" });
|
||||
}
|
||||
Reference in new issue
Block a user