mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: use axios and config.options for registration
This commit is contained in:
@@ -62,8 +62,6 @@ const startSock = async() => {
|
||||
|
||||
if(!registration.phoneNumber) {
|
||||
registration.phoneNumber = await question('Please enter your mobile phone number:\n')
|
||||
} else {
|
||||
console.log('Your mobile phone number is not registered.')
|
||||
}
|
||||
|
||||
const phoneNumber = parsePhoneNumber(registration!.phoneNumber)
|
||||
|
||||
Reference in New Issue
Block a user