Skip to content

Commit

Permalink
fit: log more stats for workouts
Browse files Browse the repository at this point in the history
  • Loading branch information
hellos3b committed Feb 18, 2024
1 parent 201012d commit d882902
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/fitness/src/PostWorkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ const workoutFromActivity = (user, activity, streams) => {

return {
discordId: user.discordId,
activityId: activity.id,
insertedDate: new Date().toISOString(),
activityId: activity.id,
type: activity.type,
duration: activity.moving_time,
name: activity.name,
exp: exp ?? expFromTime(activity.moving_time),
expFromHR: Boolean(exp),
Expand Down

0 comments on commit d882902

Please sign in to comment.