Skip to content

Commit

Permalink
fix(delete_user): add task_id to deleteuser response (#963)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdeme committed May 2, 2022
1 parent a9a9bfd commit 0090f93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@ typings/

/.vscode
/.idea
.envrc

test/typescript/data.*
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ export class StreamChat<StreamChatGenerics extends ExtendableGenerics = DefaultG
'notification_template": 'notification handlebars template',
'bundle_id': 'com.apple.your.app',
'development': true
},
},
'firebase_config': {
'server_key': 'server key from fcm',
'notification_template': 'notification handlebars template',
Expand Down Expand Up @@ -1863,7 +1863,7 @@ export class StreamChat<StreamChatGenerics extends ExtendableGenerics = DefaultG
mark_messages_deleted?: boolean;
},
) {
return await this.delete<APIResponse & { user: UserResponse<StreamChatGenerics> }>(
return await this.delete<APIResponse & { user: UserResponse<StreamChatGenerics> } & { task_id?: string }>(
this.baseURL + `/users/${userID}`,
params,
);
Expand Down

0 comments on commit 0090f93

Please sign in to comment.