Update plugins/federations.js
Browse files- plugins/federations.js +1 -0
plugins/federations.js
CHANGED
@@ -329,6 +329,7 @@ FedsRoutes.post("/api/v2/federation/ban", authenticateApiKey, apiLimiter, async
|
|
329 |
);
|
330 |
|
331 |
res.json({ message: `User ${user_id} banned in ${federation.name} and all its sub-federations.` });
|
|
|
332 |
} catch (err) {
|
333 |
res.status(500).json({ error: err.message });
|
334 |
}
|
|
|
329 |
);
|
330 |
|
331 |
res.json({ message: `User ${user_id} banned in ${federation.name} and all its sub-federations.` });
|
332 |
+
console.log(user_id);
|
333 |
} catch (err) {
|
334 |
res.status(500).json({ error: err.message });
|
335 |
}
|