diff --git a/src/core/engines/wpp/session.wpp.core.ts b/src/core/engines/wpp/session.wpp.core.ts index c966fec9..1dab6ce3 100644 --- a/src/core/engines/wpp/session.wpp.core.ts +++ b/src/core/engines/wpp/session.wpp.core.ts @@ -1513,14 +1513,15 @@ export class WhatsappSessionWPPCore extends WhatsappSession { } @Activity() - public promoteParticipantsToAdmin( + public async promoteParticipantsToAdmin( id: string, request: ParticipantsRequest, ): Promise { const participants = request.participants.map((participant) => this.ensureSuffix(participant.id), ); - return this.wpp!.promoteParticipant(this.ensureSuffix(id), participants); + await this.wpp!.promoteParticipant(this.ensureSuffix(id), participants); + return true; } @Activity()