add migration for outlet

This commit is contained in:
2026-05-13 15:22:23 +07:00
parent 691e2ea614
commit dc5a823508
7 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -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