quita substring

mto
Freddy Heredia 2 years ago
parent 82e6350aa0
commit 9230be73d1

@ -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;

Loading…
Cancel
Save