From 73425e2ad8646d55cd169ecc21de2be1dcbb06d5 Mon Sep 17 00:00:00 2001 From: Ming Date: Thu, 21 Dec 2023 14:01:53 +1100 Subject: [PATCH] Small documentation update --- src/client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client.ts b/src/client.ts index 4a99070..e02d1d4 100644 --- a/src/client.ts +++ b/src/client.ts @@ -172,7 +172,7 @@ export class QuantClient { * @param payload FilePayload * The file payload data. * - * @returns Promose + * @returns Promise * The repsonse object. */ file: async (payload: types.FilePayload): Promise => { @@ -314,8 +314,8 @@ export class QuantClient { * @param payload types.SearchIndexPayload * The search index paylod. * - * @returns Promose - * The respose. + * @returns Promise + * The response. */ index: async (payload: types.SearchIndexPayload): Promise => { return await this._search.post('search', JSON.parse(payload.data.toString()))