let's make the example working (#2017)
This commit is contained in:
@@ -6,7 +6,6 @@ import makeWASocket, { AnyMessageContent, BinaryInfo, CacheStore, delay, Disconn
|
||||
import open from 'open'
|
||||
import fs from 'fs'
|
||||
import P from 'pino'
|
||||
import { WAMHandler } from './wam'
|
||||
|
||||
const logger = P({
|
||||
level: "trace",
|
||||
@@ -65,8 +64,6 @@ const startSock = async() => {
|
||||
})
|
||||
|
||||
|
||||
const wam = new WAMHandler(sock, state)
|
||||
|
||||
// Pairing code for Web clients
|
||||
if (usePairingCode && !sock.authState.creds.registered) {
|
||||
// todo move to QR event
|
||||
|
||||
Reference in New Issue
Block a user