Skip to content

Commit 7646f20

Browse files
committed
resolved issue #10
1 parent f85acb4 commit 7646f20

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,10 @@ async function start_truecallerjs(argv, authkey) {
325325
}
326326
process.exit();
327327
} else {
328-
if ("parsedPhoneNumber" in req_data && `+${req_data.parsedPhoneNumber}` == pn.getNumber("e164")) {
328+
if (
329+
"parsedPhoneNumber" in req_data &&
330+
`+${req_data.parsedPhoneNumber}` == pn.getNumber("e164")
331+
) {
329332
console.log(
330333
"\n\nPrevious request was found for this mobile number.\n"
331334
);
@@ -350,7 +353,6 @@ async function start_truecallerjs(argv, authkey) {
350353
var x = readlineSync.question(
351354
"Do you want to enter previous OTP (y/n): "
352355
);
353-
354356
}
355357
}
356358
} else {

0 commit comments

Comments
 (0)