Skip to content

Commit

Permalink
updated lobby api
Browse files Browse the repository at this point in the history
  • Loading branch information
cnwankwo committed Jul 24, 2023
1 parent 7743f42 commit 22fc667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Project/src/MakeCall/RemoteParticipantCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ export default class RemoteParticipantCard extends React.Component {
}

async admitParticipant() {
await this.call.admit(this.identifier);
await this.call.lobby.admit(this.identifier);
}

async rejectParticipant() {
await this.call.rejectParticipant(this.identifier);
await this.call.lobby.reject(this.identifier);
}

render() {
Expand Down

0 comments on commit 22fc667

Please sign in to comment.