👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 18:00:28 +02:00
parent 53162ba462
commit 546b79bea0
54 changed files with 257 additions and 257 deletions

View File

@@ -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;