Refactor whitelabel update api method name to update from create

scopeMapAPILayer
Mohamed Rashd 3 years ago
parent b8a0ffe7c0
commit 743a12083b

@ -192,7 +192,7 @@ public interface WhiteLabelService {
"\n Server error occurred while creating white label theme.",
response = ErrorResponse.class)
})
Response createWhiteLabelTheme(WhiteLabelThemeCreateRequest whiteLabelThemeCreateRequest);
Response updateWhiteLabelTheme(WhiteLabelThemeCreateRequest whiteLabelThemeCreateRequest);
@GET
@ApiOperation(

@ -88,7 +88,7 @@ public class WhiteLabelServiceImpl implements WhiteLabelService {
@PUT
@Override
public Response createWhiteLabelTheme(WhiteLabelThemeCreateRequest whiteLabelThemeCreateRequest) {
public Response updateWhiteLabelTheme(WhiteLabelThemeCreateRequest whiteLabelThemeCreateRequest) {
RequestValidationUtil.validateWhiteLabelTheme(whiteLabelThemeCreateRequest);
try {
WhiteLabelTheme createdWhiteLabelTheme = DeviceMgtAPIUtils.getWhiteLabelManagementService().updateWhiteLabelTheme(whiteLabelThemeCreateRequest);

Loading…
Cancel
Save