Remove notes about using an array for scopes in POST /grants, it's already been done

This commit is contained in:
Colin McDonald 2016-06-23 00:56:43 -04:00
parent b291e9e13b
commit 5310a0c6c4

View File

@ -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) {