mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge branch 'rest-api-improvements' of https://github.com/wso2/carbon-device-mgt-plugins into rest-api-improvements
This commit is contained in:
commit
786c6859bd
@ -121,12 +121,11 @@ public class DeviceTypeConfigurationServiceImpl implements DeviceTypeConfigurati
|
|||||||
|
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("license")
|
@Path("/license")
|
||||||
@Produces(MediaType.TEXT_PLAIN)
|
@Produces(MediaType.TEXT_PLAIN)
|
||||||
public Response getLicense(
|
public Response getLicense(
|
||||||
@HeaderParam("If-Modified-Since") String ifModifiedSince) {
|
@HeaderParam("If-Modified-Since") String ifModifiedSince) {
|
||||||
License license;
|
License license;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
license =
|
license =
|
||||||
AndroidAPIUtils.getDeviceManagementService().getLicense(
|
AndroidAPIUtils.getDeviceManagementService().getLicense(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user