Skip to content

Commit

Permalink
chore: also log strava id for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
divyenduz committed Nov 3, 2024
1 parent 69f51b1 commit b563a9f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function processEvent(event: StravaWebhookEvent) {
heading: 'New Activity Created (Webhook)',
name: `${post.text}`,
description: `
ID: ${post.id}
ID: ${post.id} / Strava ID: ${activityCreateEvent.object_id}
Activity Time: ${updatedPost?.startTime}
User: ${user.firstName} ${user.lastName}
Link: ${process.env.HOMEPAGE_URL}/activity/${post.id}`,
Expand Down Expand Up @@ -157,7 +157,7 @@ async function processEvent(event: StravaWebhookEvent) {
heading: 'New Activity Created (via Update Webhook)',
name: `${post.text}`,
description: `
ID: ${post.id}
ID: ${post.id} / Strava ID: ${activityUpdateEvent.object_id}
Activity Time: ${updatedPost?.startTime}
User: ${user.firstName} ${user.lastName}
Link: ${process.env.HOMEPAGE_URL}/activity/${post.id}`,
Expand Down Expand Up @@ -189,7 +189,7 @@ async function processEvent(event: StravaWebhookEvent) {
heading: 'Activity Deleted (Webhook)',
name: `${post.text}`,
description: `
ID: ${post.id}
ID: ${post.id} / Strava ID: ${activityDeleteEvent.object_id}
Activity Time: ${post?.startTime}
User: ${user.firstName} ${user.lastName}
Link: ${process.env.HOMEPAGE_URL}/activity/${post.id}`,
Expand Down

0 comments on commit b563a9f

Please sign in to comment.