fix 修复 #更新排名 命令无法获取uid绑定信息 (#641)

This commit is contained in:
Hochfart0 2023-09-19 03:54:42 +08:00 committed by GitHub
parent c85a22674b
commit 19edc805e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,9 +199,7 @@ export default class ProfileRank {
let uidMap = {}
let qqMap = {}
let add = (qq, uid, type) => {
if (!uidMap || type === 'ck') {
uidMap[uid] = { uid, qq, type: type === 'ck' ? 'ck' : 'bind' }
}
uidMap[uid] = { uid, qq, type: type === 'ck' ? 'ck' : 'bind' }
qqMap[qq] = true
}