Skip to content

Commit

Permalink
Fix another NPE in success handler
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment committed Mar 18, 2020
1 parent 3cae0b3 commit bff9ac4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ protected RequestBody finalizeData()
@Override
protected void handleSuccess(Response response, Request<PermissionOverride> request)
{
long id = permissionHolder.getIdLong();
DataObject object = (DataObject) request.getRawBody();
PermissionOverrideImpl override = new PermissionOverrideImpl(channel, id, isRole());
override.setAllow(object.getLong("allow"));
Expand Down

0 comments on commit bff9ac4

Please sign in to comment.