From a79a21f2767a68104bace9348c2614b91c428b8d Mon Sep 17 00:00:00 2001 From: Abhishek Shende Date: Tue, 5 Mar 2024 08:45:59 -0800 Subject: [PATCH] add missing return in getDefaultHeaders (#32) --- lib/services/tastytrade-http-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/tastytrade-http-client.ts b/lib/services/tastytrade-http-client.ts index 16265d0..1a4bc34 100644 --- a/lib/services/tastytrade-http-client.ts +++ b/lib/services/tastytrade-http-client.ts @@ -29,7 +29,7 @@ export default class TastytradeHttpClient{ headers["User-Agent"] = 'tastytrade-sdk-js' } - headers + return headers } private async executeRequest(method: string, url: string, data: object = {}, headers: object = {}, params: object = {}) {