mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'rest-api-improvements' of https://github.com/wso2/carbon-device-mgt into rest-api-improvements
This commit is contained in:
commit
d7b860b955
@ -84,7 +84,7 @@ public class UserManagementServiceImpl implements UserManagementService {
|
||||
log.debug("User '" + userWrapper.getUsername() + "' has successfully been added.");
|
||||
}
|
||||
// returning response with success state
|
||||
return Response.status(Response.Status.OK).entity("User by username: " + userWrapper.getUsername() +
|
||||
return Response.status(Response.Status.CREATED).entity("User by username: " + userWrapper.getUsername() +
|
||||
" was successfully added.").build();
|
||||
}
|
||||
} catch (UserStoreException e) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user