👕 Fix lint issue
This commit is contained in:
@@ -79,7 +79,7 @@ export const activityFields = [
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -97,7 +97,7 @@ export const activityFields = [
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
@@ -114,8 +114,8 @@ export const activityFields = [
|
||||
'activity',
|
||||
],
|
||||
operation: [
|
||||
'create'
|
||||
]
|
||||
'create',
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'ISO 8601 formatted date time.',
|
||||
@@ -132,7 +132,7 @@ export const activityFields = [
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
|
||||
@@ -21,7 +21,7 @@ export async function stravaApiRequest(this: IExecuteFunctions | IExecuteSingleF
|
||||
form: body,
|
||||
qs,
|
||||
uri: uri || `https://www.strava.com/api/v3${resource}`,
|
||||
json: true
|
||||
json: true,
|
||||
};
|
||||
try {
|
||||
if (Object.keys(headers).length !== 0) {
|
||||
|
||||
@@ -54,7 +54,7 @@ export class Strava implements INodeType {
|
||||
},
|
||||
],
|
||||
default: 'activity',
|
||||
description: 'The resource to operate on.'
|
||||
description: 'The resource to operate on.',
|
||||
},
|
||||
...activityOperations,
|
||||
...activityFields,
|
||||
|
||||
@@ -281,7 +281,7 @@ export class StravaTrigger implements INodeType {
|
||||
|
||||
return {
|
||||
workflowData: [
|
||||
this.helpers.returnJsonArray(body)
|
||||
this.helpers.returnJsonArray(body),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user