Skip to content

Commit

Permalink
removed console.log(headers);
Browse files Browse the repository at this point in the history
removed unnecessary logging
  • Loading branch information
suryavaddiraju committed Apr 16, 2024
1 parent 58a0174 commit 85092a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/workings.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class IRCTC{
async send_login(){
const data = `grant_type=password&username=${this.username}&password=${this.password}&captcha=${this.captcha_answer}&uid=${this.captcha_status}&otpLogin=false&nlpIdentifier=&nlpAnswer=&nlpToken=&lso=&encodedPwd=true`;
const headers = main_headers.headers_4;
console.log(headers);
headers["Content-Length"] = data.length.toString();
await sleep_for_login(this.params.ticket_time);
const response = await this.axios_instance.post(
Expand Down

0 comments on commit 85092a0

Please sign in to comment.