From ff8c225c75a2bd85e1c140609f9b3c9afaa7529b Mon Sep 17 00:00:00 2001 From: Aerilym Date: Sun, 4 Sep 2022 18:36:50 +1000 Subject: [PATCH] Add missing comments --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 969c165..e331351 100644 --- a/src/index.ts +++ b/src/index.ts @@ -78,10 +78,12 @@ export class AxiosTransport extends Transport { resolvedUrl = resolvedUrl + resolvedPath; } + // Add body addons to the request body if they exist. if (this.bodyAddons) { info = { ...info, ...this.bodyAddons }; } + // Create the request config. let axiosConfig: AxiosRequestConfig = { method: this.method, url: resolvedUrl, @@ -127,6 +129,7 @@ export class AxiosTransport extends Transport { } } + // Send the request. axios(axiosConfig) .then(function (response) { return response;