Skip to content

Commit

Permalink
Update generate_activity_log.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JunaidBabu committed Apr 1, 2020
1 parent 8945f85 commit 4cf2950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generate_activity_log.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ data_prev.statewise.forEach(element => {

total = statewise_new["Total"];
tg_full_text = full_text + "\n" + "``` Total cases: "+total.confirmed
+ "\n" + " Recovered : "+total.recovered
+ "\n" + " Deaths : "+total.deaths+"```";
+ "\n" + " Recovered : "+total.recovered
+ "\n" + " Deaths : "+total.deaths+"```";
}
});

Expand All @@ -91,7 +91,7 @@ if (full_text!=""){
url = "https://api.telegram.org/bot"+BOT_TOKEN+"/sendmessage?parse_mode=Markdown&chat_id=-1001449683810&text=_"
+formated_time+"_\n\n"
+tg_full_text
+"\n*www.covid19india.org*";
+"\n\n*www.covid19india.org*";
// console.log(url);
let settings = { method: "Get" };
fetch(url, settings).then(res => res.json())
Expand Down

0 comments on commit 4cf2950

Please sign in to comment.