summaryrefslogtreecommitdiff
path: root/src/redux/github/actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/redux/github/actions.js')
-rw-r--r--src/redux/github/actions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redux/github/actions.js b/src/redux/github/actions.js
index fe054a0..c61fd50 100644
--- a/src/redux/github/actions.js
+++ b/src/redux/github/actions.js
@@ -40,8 +40,8 @@ export const fetchTrending = function (filters) {
dispatch({
type: FETCH_TRENDING_SUCCESS,
payload: {
- start: filters.dateRange.start,
- end: filters.dateRange.end,
+ start: filters.dateRange.start.format(),
+ end: filters.dateRange.end.format(),
data: response.data
}
});