Merge pull request 'Custom app cannot edit after create and not showing the detail of the apk in the editing form in app publisher' (#106) from dilini/device-mgt-core:issue-9736-2 into master

Reviewed-on: https://repository.entgra.net/community/device-mgt-core/pulls/106
This commit is contained in:
Pahansith Gunathilake 2023-04-25 08:07:16 +00:00
commit a48c481016

View File

@ -3244,7 +3244,7 @@ public class ApplicationManagerImpl implements ApplicationManager {
AtomicReference<ApplicationReleaseDTO> applicationReleaseDTO = new AtomicReference<>(
applicationDTO.getApplicationReleaseDTOs().get(0));
validateAppReleaseUpdating(customAppReleaseWrapper, applicationDTO, applicationArtifact,
ApplicationType.ENTERPRISE.toString());
ApplicationType.CUSTOM.toString());
applicationReleaseDTO.get().setPrice(customAppReleaseWrapper.getPrice());
applicationReleaseDTO.get()
.setIsSharedWithAllTenants(applicationReleaseDTO.get().getIsSharedWithAllTenants());