Skip to content

Commit

Permalink
Update src/apiClient.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mostafa Rashed <[email protected]>
  • Loading branch information
mmollick and mrashed-dev authored Jul 8, 2024
1 parent 8ecc0bd commit 5ae3276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default class APIClient {

return response;
} catch (error) {
if (error instanceof Error && error.name === "AbortError") {
if (error instanceof Error && error.name === 'AbortError') {
throw new NylasSdkTimeoutError(req.url, this.timeout);
}

Expand Down

0 comments on commit 5ae3276

Please sign in to comment.