feat: use axios and config.options for registration

This commit is contained in:
SamuelScheit
2023-05-22 18:04:24 +02:00
parent d713e2314d
commit c2bff56054
2 changed files with 15 additions and 18 deletions

View File

@@ -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)