Remove unused field from last commit
This commit is contained in:
parent
508674045e
commit
b53ea83bb9
@ -88,7 +88,6 @@ public final class POSTPunishments implements Handler<RoutingContext> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Punishment punishment = new Punishment(target, publicReason, privateReason, type, expiresAt, addedBy, ctx.get("actor"), meta);
|
Punishment punishment = new Punishment(target, publicReason, privateReason, type, expiresAt, addedBy, ctx.get("actor"), meta);
|
||||||
String accessDenialReason = punishment.getAccessDenialReason();
|
|
||||||
String userIp = requestBody.getString("userIp");
|
String userIp = requestBody.getString("userIp");
|
||||||
|
|
||||||
if (userIp == null) {
|
if (userIp == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user