From 5310a0c6c4069e478120bd40f34d2c0d8dd069c6 Mon Sep 17 00:00:00 2001 From: Colin McDonald Date: Thu, 23 Jun 2016 00:56:43 -0400 Subject: [PATCH] Remove notes about using an array for scopes in POST /grants, it's already been done --- src/main/java/net/frozenorb/apiv3/route/grants/POSTGrants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/frozenorb/apiv3/route/grants/POSTGrants.java b/src/main/java/net/frozenorb/apiv3/route/grants/POSTGrants.java index f8cfcdd..0c1e11b 100644 --- a/src/main/java/net/frozenorb/apiv3/route/grants/POSTGrants.java +++ b/src/main/java/net/frozenorb/apiv3/route/grants/POSTGrants.java @@ -34,7 +34,7 @@ public final class POSTGrants implements Handler { } Set scopes = new HashSet<>(); - List scopeIds = (List) requestBody.getJsonArray("scopes").getList(); // TODO: SHOULD BE ARRAY + List scopeIds = (List) requestBody.getJsonArray("scopes").getList(); if (!scopeIds.isEmpty()) { for (String serverGroupId : scopeIds) {