Skip to content

Commit

Permalink
Removed includes field from get_participants_by_cids request (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr1414 authored Jul 12, 2024
1 parent 2e632d4 commit e1cdd79
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ class Api {
},
};

if (data.includes) {
requestData.request.get_participants_by_cids.includes = data.includes;
}

const resObjKey = "users";
return this.sendPromise(requestData, resObjKey);
}
Expand Down
1 change: 0 additions & 1 deletion src/services/messagesService.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ class MessagesService {
api
.getParticipantsByCids({
cids: [this.currentChatId],
includes: ["id"],
})
.then((arr) =>
store.dispatch(
Expand Down

0 comments on commit e1cdd79

Please sign in to comment.