You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can test with the absolutely simplest aggregate call and I still get the brackets. This seems to be 'built in' to the aggregate API in Learning Locker. Is there way to flag this so that it returns an object when we know it's a single item and not an array? We are doing a call from a 3rd party charting plug-in so there's no easy way to manipulate the response before it gets consumed.
The text was updated successfully, but these errors were encountered:
My aggregate call is returning an array:
[
{
"data" : [
{
"name": "Statements",
"data": [
4
]
}
],
"category": [
"Abandoned"
]
}
]
Instead of an object:
{
"data" : [
{
"name": "Statements",
"data": [
4
]
}
],
"category": [
"Abandoned"
]
}
I can test with the absolutely simplest aggregate call and I still get the brackets. This seems to be 'built in' to the aggregate API in Learning Locker. Is there way to flag this so that it returns an object when we know it's a single item and not an array? We are doing a call from a 3rd party charting plug-in so there's no easy way to manipulate the response before it gets consumed.
The text was updated successfully, but these errors were encountered: