fix: detail site

This commit is contained in:
ferdiansyah783
2024-08-03 22:57:07 +07:00
parent 600d42d529
commit 265dd9b6e8
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -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),
}
}