Skip to content

Commit

Permalink
Rename clients to members
Browse files Browse the repository at this point in the history
  • Loading branch information
moorscode committed Feb 13, 2021
1 parent f34dcab commit 375fcee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/pokers/poker-room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export class PokerRoom {
*
* @private
*/
public getClients(): MemberList {
public getMembers(): MemberList {
return this.members;
}

Expand Down
2 changes: 1 addition & 1 deletion backend/src/pokers/pokers.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class PokersService {
* @returns {MemberList} All clients in a room.
*/
public getClients( poker: string ): MemberList {
return this.getRoom( poker ).getClients();
return this.getRoom( poker ).getMembers();
}

/**
Expand Down

0 comments on commit 375fcee

Please sign in to comment.