MakeTree calculated Info locally for historical reasons, and the results were consistent with the dataService.Info call but calculated differently. That change fixes that, ensuring that Info is requested in the same manner.
247 lines
8.5 KiB
JSON
247 lines
8.5 KiB
JSON
{
|
|
"comments": [{
|
|
"comment": {
|
|
"id": "1",
|
|
"pid": "",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:46:01Z"
|
|
},
|
|
"replies": [{
|
|
"comment": {
|
|
"id": "11",
|
|
"pid": "1",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:46:11Z"
|
|
}
|
|
},
|
|
{
|
|
"comment": {
|
|
"id": "12",
|
|
"pid": "1",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:46:12Z"
|
|
}
|
|
},
|
|
{
|
|
"comment": {
|
|
"id": "13",
|
|
"pid": "1",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:46:13Z"
|
|
},
|
|
"replies": [{
|
|
"comment": {
|
|
"id": "131",
|
|
"pid": "13",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:46:31Z"
|
|
}
|
|
},
|
|
{
|
|
"comment": {
|
|
"id": "132",
|
|
"pid": "13",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:46:32Z"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"comment": {
|
|
"id": "14",
|
|
"pid": "1",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:46:14Z"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"comment": {
|
|
"id": "2",
|
|
"pid": "",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:47:02Z"
|
|
},
|
|
"replies": [{
|
|
"comment": {
|
|
"id": "21",
|
|
"pid": "2",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:47:21Z"
|
|
}
|
|
},
|
|
{
|
|
"comment": {
|
|
"id": "22",
|
|
"pid": "2",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:47:22Z"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"comment": {
|
|
"id": "4",
|
|
"pid": "",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:47:22Z"
|
|
}
|
|
},
|
|
{
|
|
"comment": {
|
|
"id": "3",
|
|
"pid": "",
|
|
"text": "",
|
|
"user": {
|
|
"name": "",
|
|
"id": "",
|
|
"picture": "",
|
|
"admin": false
|
|
},
|
|
"locator": {
|
|
"site": "site",
|
|
"url": "url"
|
|
},
|
|
"score": 0,
|
|
"votes": null,
|
|
"time": "2017-12-25T19:47:22Z"
|
|
}
|
|
}
|
|
]
|
|
}
|