Skip to content

Commit

Permalink
refactor: Updated teamMemberStreaks to use StreakStatus instead of ac…
Browse files Browse the repository at this point in the history
…tive
  • Loading branch information
ReeceKidd committed Sep 11, 2020
1 parent a94b7f1 commit 658ab64
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@streakoid/streakoid-models": "^1.0.126",
"@streakoid/streakoid-sdk": "^1.0.612",
"@streakoid/streakoid-sdk": "^1.0.613",
"@tryghost/content-api": "^1.4.2",
"@types/form-data": "^2.5.0",
"@types/moment-timezone": "^0.5.12",
Expand Down
2 changes: 1 addition & 1 deletion src/actions/userActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const userActions = (streakoid: StreakoidSDK) => {
}),
);
const teamStreaks = await streakoid.user.teamStreaks({ status: StreakStatus.live });
const teamMemberStreaks = await streakoid.user.teamMemberStreaks({ active: true });
const teamMemberStreaks = await streakoid.user.teamMemberStreaks({ status: StreakStatus.live });
dispatch({
type: GET_CURRENT_USER,
payload: {
Expand Down

0 comments on commit 658ab64

Please sign in to comment.