mirror of
https://github.com/wechaty/getting-started.git
synced 2026-10-29 14:09:10 +08:00
Put async back to the starter
for better understanding with the beginners
This commit is contained in:
@@ -32,6 +32,6 @@ function onLogout(user) {
|
||||
console.log(`${user} logout`)
|
||||
}
|
||||
|
||||
function onMessage (msg) {
|
||||
async function onMessage (msg) {
|
||||
console.log(msg.toString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user