Skip to content

Commit

Permalink
fix: fcli ssc role delete: Fix role not being deleted (fixes #191)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Dec 15, 2022
1 parent 35523cc commit e329c89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class SSCRoleDeleteCommand extends AbstractSSCOutputCommand implements IU
@Override
public JsonNode getJsonNode(UnirestInstance unirest) {
SSCRoleDescriptor descriptor = roleResolver.getRoleDescriptor(unirest);
unirest.delete(SSCUrls.ROLE(descriptor.getRoleId()));
unirest.delete(SSCUrls.ROLE(descriptor.getRoleId())).asString().getBody();
return descriptor.asJsonNode();
}

Expand Down

0 comments on commit e329c89

Please sign in to comment.