Skip to content

Instantly share code, notes, and snippets.

@lgcantarelli
Last active January 26, 2017 17:28
Show Gist options
  • Save lgcantarelli/99883307a2140147f09a205eb5808084 to your computer and use it in GitHub Desktop.
Save lgcantarelli/99883307a2140147f09a205eb5808084 to your computer and use it in GitHub Desktop.
Formato dos dados da url /saldo
// atualmente esta vindo assim
[
{
"id": "1",
"unidade": "LT",
"armazens": [
"quantidade_disponivel": "2",
"codigo_armazem": "3"
];
}
];
// nos gostariamos que ficasse assim (com o nome do insumo)
[
{
"id": "1",
"unidade": "LT",
"nome": "Belt", // com o nome aqui
"armazens": [
"quantidade_disponivel": "2",
"codigo_armazem": "3"
];
}
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment