fix(frontend): remove syntax errors in backend.ts
This commit is contained in:
@@ -449,7 +449,6 @@ export const HybridBackend = {
|
||||
salvarAgendamento: async (ag: Partial<Agendamento>) => {
|
||||
const res = await apiFetch(`${API_URL}/agendamentos`, {
|
||||
method: 'POST',
|
||||
,
|
||||
body: JSON.stringify(ag)
|
||||
});
|
||||
if (!res.ok) {
|
||||
@@ -462,7 +461,6 @@ export const HybridBackend = {
|
||||
atualizarAgendamento: async (id: string, data: Partial<Agendamento>) => {
|
||||
const res = await apiFetch(`${API_URL}/agendamentos/${id}`, {
|
||||
method: 'PUT',
|
||||
,
|
||||
body: JSON.stringify(data)
|
||||
});
|
||||
if (!res.ok) {
|
||||
|
||||
Reference in New Issue
Block a user