diff --git a/packages/nodes-base/nodes/Strava/ActivityDescription.ts b/packages/nodes-base/nodes/Strava/ActivityDescription.ts index c2f8da8d09..d6a0f147a1 100644 --- a/packages/nodes-base/nodes/Strava/ActivityDescription.ts +++ b/packages/nodes-base/nodes/Strava/ActivityDescription.ts @@ -233,6 +233,13 @@ export const activityFields: INodeProperties[] = [ description: 'Identifier for the gear associated with the activity. ‘none’ clears gear from activity.', }, + { + displayName: 'Mute activity', + name: 'hide_from_home', + type: 'boolean', + default: false, + description: 'Do not publish to Home or Club feeds', + }, { displayName: 'Name', name: 'name', diff --git a/packages/nodes-base/nodes/Strava/Strava.node.ts b/packages/nodes-base/nodes/Strava/Strava.node.ts index 15535b9851..a95fa4b915 100644 --- a/packages/nodes-base/nodes/Strava/Strava.node.ts +++ b/packages/nodes-base/nodes/Strava/Strava.node.ts @@ -161,14 +161,6 @@ export class Strava implements INodeType { const updateFields = this.getNodeParameter('updateFields', i); - if (updateFields.trainer === true) { - updateFields.trainer = 1; - } - - if (updateFields.commute === true) { - updateFields.commute = 1; - } - const body: IDataObject = {}; Object.assign(body, updateFields);