Skip to content

Commit

Permalink
Update src/client.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Amin Mahboubi <amin@getstream.io>
  • Loading branch information
yaziine and Amin Mahboubi authored Oct 6, 2021
1 parent 7b87fc6 commit 32ae16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3315,7 +3315,7 @@ export class StreamChat<
*
* @return {TaskResponse} A task ID
*/
async deleteChannels(cids: string[], hard_delete?: boolean) {
async deleteChannels(cids: string[], options?: { hard_delete?: boolean }) {
return await this.post<APIResponse & TaskResponse>(
this.baseURL + `/channels/delete`,
{
Expand Down

0 comments on commit 32ae16e

Please sign in to comment.