Skip to content

Commit

Permalink
Fix ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
MobCode100 committed Oct 1, 2024
1 parent 8c420a7 commit b5c64b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const client = new Client({
headless: false,
},
// pairWithPhoneNumber: {
// phoneNumber: "96170100100" // Pair with phone number (format: <COUNTRY_CODE><PHONE_NUMBER>)
// phoneNumber: '96170100100' // Pair with phone number (format: <COUNTRY_CODE><PHONE_NUMBER>)
// }
});

Expand All @@ -20,7 +20,7 @@ client.on('loading_screen', (percent, message) => {
});

client.on('code', (code) => {
console.log("Pairing code:",code);
console.log('Pairing code:',code);
});

client.on('authenticated', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class Client extends EventEmitter {
window.AuthStore.PairingCodeLinkUtils.setPairingType('ALT_DEVICE_LINKING');
await window.AuthStore.PairingCodeLinkUtils.initializeAltDeviceLinking();
return window.AuthStore.PairingCodeLinkUtils.startAltLinkingFlow(phoneNumber, showNotification);
}
};
if (window.codeInterval) {
clearInterval(window.codeInterval); // remove existing interval
}
Expand Down
2 changes: 1 addition & 1 deletion src/util/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports.DefaultOptions = {
bypassCSP: false,
proxyAuthentication: undefined,
pairWithPhoneNumber: {
phoneNumber: "",
phoneNumber: '',
showNotification: true,
intervalMs: 180000,
},
Expand Down

0 comments on commit b5c64b8

Please sign in to comment.