When creating or fetching transactions, the metadata is not returned.
To reproduce:
- Given the transaction created with this payload:
{
"from": "lucas",
"to": "andrios",
"amount": 100,
"currency": "BRL",
"metadata": [{
"test": true
}]
}
- I should get back two transactions with the same metadata, but what I get back does not contain metadata:
[
{
"amount": 100,
"date": "2020-09-12T09:21:23.764Z",
"currency": "BRL",
"balance": 500,
"from": "lucas",
"id": "16ea0f46389d2511cae81954309a339b",
"to": "andrios"
},
{
"amount": 100,
"date": "2020-09-12T09:21:23.767Z",
"currency": "BRL",
"balance": 100,
"from": "lucas",
"id": "c44eacd2b08586b54b4ab179fdea09af",
"to": "andrios"
}
]
When creating or fetching transactions, the metadata is not returned.
To reproduce:
{ "from": "lucas", "to": "andrios", "amount": 100, "currency": "BRL", "metadata": [{ "test": true }] }[ { "amount": 100, "date": "2020-09-12T09:21:23.764Z", "currency": "BRL", "balance": 500, "from": "lucas", "id": "16ea0f46389d2511cae81954309a339b", "to": "andrios" }, { "amount": 100, "date": "2020-09-12T09:21:23.767Z", "currency": "BRL", "balance": 100, "from": "lucas", "id": "c44eacd2b08586b54b4ab179fdea09af", "to": "andrios" } ]