mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Added json response to license.
This commit is contained in:
parent
aa2448dd0a
commit
6489ea1168
@ -39,7 +39,10 @@ public class Authentication {
|
||||
|
||||
@POST
|
||||
@Path("/device/license")
|
||||
@Produces("application/json")
|
||||
public String getLicense() {
|
||||
return "License Agreement";
|
||||
JsonObject result = new JsonObject();
|
||||
result.addProperty("licenseText", "License Agreement");
|
||||
return result.toString();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user