Skip to content

Commit

Permalink
fix: lint!
Browse files Browse the repository at this point in the history
  • Loading branch information
jonalan7 committed Apr 6, 2023
1 parent 46c6cae commit f25bc41
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/api/layers/retriever.layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ import { tokenSession } from '../../config/tokenSession.config';
import { Chat, WhatsappProfile } from '../model';
import { SenderLayer } from './sender.layer';
import { checkValuesSender } from '../helpers/layers-interface';

export class RetrieverLayer extends SenderLayer {
constructor(public page: Page, session?: string, options?: CreateConfig) {
super(page, session, options);
Expand Down Expand Up @@ -264,10 +263,7 @@ export class RetrieverLayer extends SenderLayer {
* @returns message detial as promise
*/
public async getMessageInfo(msgId: string) {
return this.page.evaluate(
(msgId) => WAPI.getMessageInfo(msgId),
msgId
);
return this.page.evaluate((msgId) => WAPI.getMessageInfo(msgId), msgId);
}

/**
Expand Down

0 comments on commit f25bc41

Please sign in to comment.