add migration for outlet
This commit is contained in:
@@ -88,7 +88,7 @@ func (p *CategoryProcessorImpl) UpdateCategory(ctx context.Context, id uuid.UUID
|
||||
// Apply updates to entity
|
||||
mappers.UpdateCategoryEntityFromRequest(existingCategory, req)
|
||||
if req.OutletID != nil {
|
||||
existingCategory.OutletID = *req.OutletID
|
||||
existingCategory.OutletID = req.OutletID
|
||||
}
|
||||
|
||||
// Update category
|
||||
|
||||
Reference in New Issue
Block a user