🎉 wechat corp message supported

This commit is contained in:
Song
2021-03-28 11:15:57 +08:00
parent 7478128b6b
commit 4713373c54
10 changed files with 184 additions and 29 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ app.locals.isErrorMessage = false;
setTimeout(async () => {
// TODO: Here we need an improvement! I have tried EventEmitter but it's not working. :(
await initializeTokenStore();
await refreshToken(app);
await refreshToken();
setInterval(async () => refreshToken(), 100 * 60 * 1000);
}, 1000);