fix: detail site
This commit is contained in:
@@ -286,6 +286,7 @@ func (h *Handler) toSiteResponse(resp *entity.Site) response.Site {
|
||||
IsDiscountActive: resp.IsDiscountActive,
|
||||
CreatedAt: resp.CreatedAt.Format(time.RFC3339),
|
||||
UpdatedAt: resp.UpdatedAt.Format(time.RFC3339),
|
||||
Products: h.toProductResponseList(resp.Products),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user