Skip to content

Commit

Permalink
Update token from platform
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienTainon committed Jun 14, 2024
1 parent a75ddc0 commit a403839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/task/platform/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ function* taskShowViewsEventSaga ({payload: {views, success}}: ReturnType<typeof
yield* call(success);
}

function* taskUpdateTokenEventSaga ({payload: {success}}: ReturnType<typeof taskUpdateTokenEvent>) {
//TODO: Do something specific? We haven't implemented it into react-task-lib yet it works
function* taskUpdateTokenEventSaga ({payload: {token, success}}: ReturnType<typeof taskUpdateTokenEvent>) {
yield* put(platformTokenUpdated(token));
yield* call(success);
}

Expand Down

0 comments on commit a403839

Please sign in to comment.