diff --git a/src/indexes.ts b/src/indexes.ts index baed2163b..4e2640338 100644 --- a/src/indexes.ts +++ b/src/indexes.ts @@ -252,7 +252,7 @@ class Index = Record> { * @param data - Data to update * @returns Promise to the current Index object with updated information */ - async update(data: IndexOptions): Promise { + async update(data?: IndexOptions): Promise { const task = await this.httpRequest.patch({ relativeURL: `indexes/${this.uid}`, body: data,