mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(Strava Trigger Node): Fix issue with delete events failing to display data (#6277)
This commit is contained in:
parent
3569d53917
commit
8a8fed0840
|
@ -270,7 +270,7 @@ export class StravaTrigger implements INodeType {
|
|||
return {};
|
||||
}
|
||||
|
||||
if (resolveData) {
|
||||
if (resolveData && body.aspect_type !== 'delete') {
|
||||
let endpoint = `/athletes/${body.object_id}/stats`;
|
||||
if (body.object_type === 'activity') {
|
||||
endpoint = `/activities/${body.object_id}`;
|
||||
|
|
Loading…
Reference in a new issue