Open thadeucity opened 4 years ago
Na sessão Preparando o backend o exemplo de retorno do backend possui um erro.
"value" está definido como String, mas o backend deve retornar um Number, segundo o desafio 06 e segundo a própria Interface do desafio 07.
"value"
{ "id": "c0512e43-6589-4dc8-bd0c-2a3f71b347aa", "title": "Loan", "type": "income", ///////////////////// O ERRO ESTÁ AQUI ////////////////////////// "value": "1500.00", //////////////////////////////////////////////////////////////// "category_id": "d93eccc7-64bb-4268-b825-9200103f3a8b", "created_at": "2020-04-20T00:00:49.620Z", "updated_at": "2020-04-20T00:00:49.620Z", "category": { "id": "d93eccc7-64bb-4268-b825-9200103f3a8b", "title": "Others", "created_at": "2020-04-20T00:00:49.594Z", "updated_at": "2020-04-20T00:00:49.594Z" } }
@thadeucity valeu por avisar! Ajustei no PR https://github.com/Rocketseat/bootcamp-gostack-desafios/pull/27
Na sessão Preparando o backend o exemplo de retorno do backend possui um erro.
"value"
está definido como String, mas o backend deve retornar um Number, segundo o desafio 06 e segundo a própria Interface do desafio 07.