The following changes were made by the replace_file_content tool to: /root/aadharbot/index.js. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission. [diff_block_start] @@ -3355,7 +3355,7 @@ session.otpTxnId = otpData.otpTxnId || otpData.txnId; ctx.reply(`šŸ“© OTP Sent Successfully!\n\nPlease enter the 6-digit OTP sent to your registered mobile number:\n\nšŸ’” Send /cancel to cancel this process.`, { parse_mode: 'HTML' }); - session.step = session.pdfPhase ? 'WAITING_FOR_PDF_OTP' : 'WAITING_FOR_OTP'; + session.step = (session.pdfPhase || session.serviceType === 'EID_TO_PDF') ? 'WAITING_FOR_PDF_OTP' : 'WAITING_FOR_OTP'; console.timeEnd(tLabel('Total Loop')); } else { let errMsg = otpData ? (otpData.message || (otpData.data && otpData.data.data && otpData.data.data.message) || (otpData.data && otpData.data.message)) : null; [diff_block_end] Please note that the above snippet only shows the MODIFIED lines from the last change. It shows up to 3 lines of unchanged lines before and after the modified lines. The actual file contents may have many more lines not shown.