diff --git a/internal/service/shop_series_grant/service.go b/internal/service/shop_series_grant/service.go index dc5b031..1e9f05f 100644 --- a/internal/service/shop_series_grant/service.go +++ b/internal/service/shop_series_grant/service.go @@ -340,7 +340,7 @@ func (s *Service) Create(ctx context.Context, req *dto.CreateShopSeriesGrantRequ RetailPrice: pkg.SuggestedRetailPrice, SeriesAllocationID: &allocation.ID, Status: constants.StatusEnabled, - ShelfStatus: constants.StatusEnabled, + ShelfStatus: constants.ShelfStatusOn, } pkgAlloc.Creator = operatorID pkgAlloc.Updater = operatorID @@ -674,7 +674,7 @@ func (s *Service) ManagePackages(ctx context.Context, id uint, req *dto.ManageGr RetailPrice: pkg.SuggestedRetailPrice, SeriesAllocationID: &allocation.ID, Status: constants.StatusEnabled, - ShelfStatus: constants.StatusEnabled, + ShelfStatus: constants.ShelfStatusOn, } pkgAlloc.Creator = operatorID pkgAlloc.Updater = operatorID