Created
April 16, 2020 08:44
-
-
Save jackrobotics/6eb7db85a44ae4200047bfec0672e738 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var message = "\nอับเดทล่าสุด: "+msg.payload.UpdateDate+"\n"; | |
message += "ผู้ติดเชื้อสะสม: "+msg.payload.Confirmed+" ( "+msg.payload.NewConfirmed+" )\n"; | |
message += "หายแล้ว: "+msg.payload.Recovered+" ( "+msg.payload.NewRecovered+" )\n"; | |
message += "รักษาอยู่: "+msg.payload.Hospitalized+" ( "+msg.payload.NewHospitalized+" )\n"; | |
message += "เสียชีวิต: "+msg.payload.Deaths+" ( "+msg.payload.NewDeaths+" )\n"; | |
msg.payload = message; | |
return msg; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment