Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desafio 07: GoFinances Web - Erro na descrição #23

Open
thadeucity opened this issue Apr 25, 2020 · 1 comment
Open

Desafio 07: GoFinances Web - Erro na descrição #23

thadeucity opened this issue Apr 25, 2020 · 1 comment

Comments

@thadeucity
Copy link

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.

{
  "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"
  }
}
@LucasMallmann
Copy link

@thadeucity valeu por avisar! Ajustei no PR #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants