1👍
It was a quick fix. No brackets around the array variable.
data: [{
newdata,
}]
should be
data: newdata,
Source:stackexchange.com
1👍
It was a quick fix. No brackets around the array variable.
data: [{
newdata,
}]
should be
data: newdata,