This repository was archived by the owner on Jan 2, 2024. It is now read-only.
This repository was archived by the owner on Jan 2, 2024. It is now read-only.
Error on getting a collection by Id #175
Open
Description
- I create collection
- I run the GET (to return all collections), and it returns:
[
{
"id": "-LwU90TtYEcnFCmworbQ",
"cnpj": "saease",
"name": "esaes",
"qty_spots": 1
},
{
"id": "-LwUAxrOD3p3jOOEuU2d",
"cnpj": "esasea",
"name": "esaesa",
"qty_spots": 1
},
{
"id": "-LwUG_rxD2UX0B1snn81",
"cnpj": "test",
"name": "xjxjx",
"qty_spots": 2
}
]
-
I run the endpoint GET /{id}:
curl -X GET "http://localhost:3000/testing/-LwUG_rxD2UX0B1snn81" -H "accept: application/json" -
And is not possible to find the entity: "ENTITY_NOT_FOUND"
What can I do to fix that?