Remove notes about using an array for scopes in POST /grants, it's already been done
This commit is contained in:
parent
b291e9e13b
commit
5310a0c6c4
@ -34,7 +34,7 @@ public final class POSTGrants implements Handler<RoutingContext> {
|
||||
}
|
||||
|
||||
Set<ServerGroup> scopes = new HashSet<>();
|
||||
List<String> scopeIds = (List<String>) requestBody.getJsonArray("scopes").getList(); // TODO: SHOULD BE ARRAY
|
||||
List<String> scopeIds = (List<String>) requestBody.getJsonArray("scopes").getList();
|
||||
|
||||
if (!scopeIds.isEmpty()) {
|
||||
for (String serverGroupId : scopeIds) {
|
||||
|
Loading…
Reference in New Issue
Block a user