diff --git a/packages/fitness/src/PostWorkout.js b/packages/fitness/src/PostWorkout.js index f5872b9..8ebf823 100644 --- a/packages/fitness/src/PostWorkout.js +++ b/packages/fitness/src/PostWorkout.js @@ -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),