修复参加比赛的错误

This commit is contained in:
masnn committed 2020-04-12 12:29:49 +08:00
1 parent 32ad47e031
commit f40e4e2c74
10 files changed
+62 -38

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@ class ConnectionHandler {
return new Promise((resolve, reject) => {
template.render(name, Object.assign(context, {
handler: this,
_: this.translate,
_: str => str ? str.toString().translate(this.user.language) : '',
user: this.user
}), (error, res) => {
console.timeEnd(name);