Skip to content

Commit db0d18d

Browse files
committed
Change http verb from put to patch
1 parent 384945a commit db0d18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/indexes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ export class Index<T extends RecordAny = RecordAny> {
14021402
* @returns Promise containing an EnqueuedTask
14031403
*/
14041404
updateChat(chatSettings: ChatSettingsPayload): EnqueuedTaskPromise {
1405-
return this.#httpRequestsWithTask.put({
1405+
return this.#httpRequestsWithTask.patch({
14061406
path: `indexes/${this.uid}/settings/chat`,
14071407
body: chatSettings,
14081408
});

0 commit comments

Comments
 (0)