From fdf957b338f1fd61aaa077496b719b00126910d6 Mon Sep 17 00:00:00 2001 From: Aman Dutt <48490538+adgamerx@users.noreply.github.com> Date: Sun, 17 Apr 2022 16:16:15 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fixed=20typo=20(#1488)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 28fffaa..6c07d30 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ import * as fs from 'fs' const { state, saveState } = useSingleFileAuthState('./auth_info_multi.json') // will use the given state to connect // so if valid credentials are available -- it'll connect without QR -const conn = makeSocket({ auth: state }) +const conn = makeWASocket({ auth: state }) // this will be called as soon as the credentials are updated sock.ev.on ('creds.update', saveState) ```