Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Fix issue 443 plugin proxy_cache got "expected an integer"
Browse files Browse the repository at this point in the history
  • Loading branch information
danybmx committed Nov 13, 2019
1 parent 803f21f commit 2603208
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/js/app/plugins/plugin-helper-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@
// }
// }

if (fields[key].value instanceof Array
&& fields[key].elements.type === "integer") {
fields[key].value = fields[key].value.map(function(value) {
return parseInt(value);
});
}

if(!data.config) data.config = {};

Expand Down

0 comments on commit 2603208

Please sign in to comment.