Skip to content

Commit

Permalink
fix: Fixed return on added to group
Browse files Browse the repository at this point in the history
  • Loading branch information
icleitoncosta committed Oct 22, 2022
1 parent 8dcc853 commit e23b49b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/layers/group.layer.ts
Expand Up @@ -168,14 +168,12 @@ export class GroupLayer extends RetrieverLayer {
groupId: string,
participantId: string | string[]
) {
await evaluateAndReturn(
return await evaluateAndReturn(
this.page,
({ groupId, participantId }) =>
WPP.group.addParticipants(groupId, participantId),
{ groupId, participantId }
);

return true;
}

/**
Expand Down

0 comments on commit e23b49b

Please sign in to comment.