mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -51,7 +51,7 @@ export async function stravaApiRequest(this: IExecuteFunctions | IExecuteSingleF
|
||||
|
||||
if (error.statusCode === 402) {
|
||||
throw new Error(
|
||||
`Strava error response [${error.statusCode}]: Payment Required`
|
||||
`Strava error response [${error.statusCode}]: Payment Required`,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ export async function stravaApiRequest(this: IExecuteFunctions | IExecuteSingleF
|
||||
errors = errors.map((e: IDataObject) => `${e.code} -> ${e.field}`);
|
||||
// Try to return the error prettier
|
||||
throw new Error(
|
||||
`Strava error response [${error.statusCode}]: ${errors.join('|')}`
|
||||
`Strava error response [${error.statusCode}]: ${errors.join('|')}`,
|
||||
);
|
||||
}
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user