Skip to content

Commit

Permalink
Move 'before' and 'after' to 'activitiesOptions'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Delpoux committed Oct 16, 2018
1 parent 64694e1 commit 207c699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ exports.sourceNodes = (
let heartrateMax
const activities = await getActivities({
token,
before,
after,
options: activitiesOptions,
})

Expand Down
4 changes: 2 additions & 2 deletions src/utils/activities.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const {get} = require("./get.js")
const getActivities = ({
token,
options: {
after,
before,
after = null,
before = null,
streamsTypes = [],
withComments = false,
withKudos = false,
Expand Down

0 comments on commit 207c699

Please sign in to comment.