{
"todos": [
{
"id": "bf75769b-4810-64e9-d154-418ff2dbf55e",
"desc": "getting up",
"completed": false,
"userId": "1"
},
{
"id": "5894a12f-dae1-5ab0-5761-1371ba4f703e",
"desc": "have breakfast",
"completed": true,
"userId": "2"
},
{
"id": "0d2596c4-216b-df3d-1608-633899c5a549",
"desc": "go to school",
"completed": true,
"userId": "1"
},
{
"id": "0b1f6614-1def-3346-f070-d6d39c02d6b7",
"desc": "test",
"completed": false,
"userId": "2"
},
{
"id": "c1e02a43-6364-5515-1652-a772f0fab7b3",
"desc": "This is a te",
"completed": false,
"userId": "1"
}
],
"users": [
{
"id": "1",
"username": "wang",
"password": "1234"
},
{
"id": "2",
"username": "peng",
"password": "5678"
}
]
}
database looks like below, and http://localhost:3000/todos/?completed=true is working, but http://localhost:3000/todos/?completed=false gets an empty array. I am using 0.9.0