Skip to content

Commit

Permalink
pass config object to parseObject function
Browse files Browse the repository at this point in the history
  • Loading branch information
zivchen committed Oct 22, 2023
1 parent fe02d3e commit ebe2777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routers/FunctionsRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { logger } from '../logger';
function parseObject(obj, config) {
if (Array.isArray(obj)) {
return obj.map(item => {
return parseObject(item);
return parseObject(item, config);
});
} else if (obj && obj.__type == 'Date') {
return Object.assign(new Date(obj.iso), obj);
Expand Down

0 comments on commit ebe2777

Please sign in to comment.