Update plugins/antiban.js
Browse files- plugins/antiban.js +1 -0
plugins/antiban.js
CHANGED
@@ -33,6 +33,7 @@ AntibanRoutes.post("/api/v1/user/ban-user", authenticateApiKey, apiLimiter, asyn
|
|
33 |
}
|
34 |
|
35 |
const userDocument = {
|
|
|
36 |
key: existingUserKey.key,
|
37 |
user_ban: userIdNumber,
|
38 |
createdAt: new Date(),
|
|
|
33 |
}
|
34 |
|
35 |
const userDocument = {
|
36 |
+
owner: existingUserKey.owner,
|
37 |
key: existingUserKey.key,
|
38 |
user_ban: userIdNumber,
|
39 |
createdAt: new Date(),
|