diff --git a/src/hooks/saveWithAuth.ts b/src/hooks/saveWithAuth.ts index 379c3a1..9569ef8 100644 --- a/src/hooks/saveWithAuth.ts +++ b/src/hooks/saveWithAuth.ts @@ -29,7 +29,7 @@ const fecher = async (url: string, id:string, token: string, data:any) => { if (response.ok){ data = await response.json(); }else { - error = "Servidor: "+ ((await response.json()).trace).substring(1,300); + error = "Servidor: "+ ((await response.json()).trace); } }catch (e){ error = "Cliente: "+e;