mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
testdata.convert
This commit is contained in:
1 parent
26f780ddee
commit
0d7d6ea12a
15 files changed
+199
-127
No files matched your search
+1
-1
@@ -224,7 +224,7 @@ function deleteRoles(domainId, roles) {
|
||||
function ban(uid) {
|
||||
return Promise.all([
|
||||
coll.updateOne({ _id: uid }, { $set: { ban: true } }),
|
||||
token.deleteByUid(uid),
|
||||
token.delByUid(uid),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user