Updated avrop params to match API
This commit is contained in:
@@ -106,10 +106,6 @@ router.render = (req, res) => {
|
||||
if (params) {
|
||||
const newData = [];
|
||||
params.forEach((value, key) => {
|
||||
// if (key === 'kommunKod') {
|
||||
// value = +value;
|
||||
// }
|
||||
|
||||
newData.push(
|
||||
...data.filter(item => {
|
||||
return item[`related_${key}`].includes(value);
|
||||
|
||||
Reference in New Issue
Block a user