changed ticket registration to be consistent
parent
446ccd0ba7
commit
aeea1379ac
|
@ -87,7 +87,7 @@ public class PermissionRegistrationEndpoint {
|
||||||
JsonObject o = el.getAsJsonObject();
|
JsonObject o = el.getAsJsonObject();
|
||||||
|
|
||||||
Long rsid = getAsLong(o, "resource_set_id");
|
Long rsid = getAsLong(o, "resource_set_id");
|
||||||
Set<String> scopes = getAsStringSet(o, "scopes");
|
Set<String> scopes = getAsStringSet(o, "resource_set_scopes");
|
||||||
|
|
||||||
if (rsid == null || scopes == null || scopes.isEmpty()){
|
if (rsid == null || scopes == null || scopes.isEmpty()){
|
||||||
// missing information
|
// missing information
|
||||||
|
|
Loading…
Reference in New Issue