fix(frontend): remove syntax errors in backend.ts

This commit is contained in:
VPS 4 Builder
2026-05-13 15:31:30 +02:00
parent 3416845c28
commit c16ec80780
-2
View File
@@ -449,7 +449,6 @@ export const HybridBackend = {
salvarAgendamento: async (ag: Partial<Agendamento>) => { salvarAgendamento: async (ag: Partial<Agendamento>) => {
const res = await apiFetch(`${API_URL}/agendamentos`, { const res = await apiFetch(`${API_URL}/agendamentos`, {
method: 'POST', method: 'POST',
,
body: JSON.stringify(ag) body: JSON.stringify(ag)
}); });
if (!res.ok) { if (!res.ok) {
@@ -462,7 +461,6 @@ export const HybridBackend = {
atualizarAgendamento: async (id: string, data: Partial<Agendamento>) => { atualizarAgendamento: async (id: string, data: Partial<Agendamento>) => {
const res = await apiFetch(`${API_URL}/agendamentos/${id}`, { const res = await apiFetch(`${API_URL}/agendamentos/${id}`, {
method: 'PUT', method: 'PUT',
,
body: JSON.stringify(data) body: JSON.stringify(data)
}); });
if (!res.ok) { if (!res.ok) {