diff --git a/CHANGELOG.md b/CHANGELOG.md index 65bdf143..f65f128f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Unreleased * Fix parsing of Number arrays +* Fix configured timeout not being used * Bump `node-fetch` dependency from 2.6.1 to 2.6.12 ### 6.10.0 / 2023-04-04 diff --git a/src/nylas-connection.ts b/src/nylas-connection.ts index a675c4a8..f3831ffe 100644 --- a/src/nylas-connection.ts +++ b/src/nylas-connection.ts @@ -237,7 +237,7 @@ export default class NylasConnection { controller = new AbortController(); timeout = setTimeout(() => { controller.abort(); - }, 150); + }, config.timeout); } return new Promise((resolve, reject) => {