Skip to content

Commit

Permalink
fix: TypeError: date.match is not a function at BaseTimeDimension.for…
Browse files Browse the repository at this point in the history
…matFromDate
  • Loading branch information
paveltiunov committed Apr 3, 2020
1 parent a824207 commit 4ac7307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-server-core/core/RefreshScheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RefreshScheduler {
}))
);

const extractDate = ({ data }) => data[0] && data[0][Object.keys(data[0])[0]];
const extractDate = ({ data }) => data[0] && data[0][Object.keys(data[0])[0]].toString();

const baseQuery = {
...queryingOptions,
Expand Down

0 comments on commit 4ac7307

Please sign in to comment.