Update Latitude Longitude

This commit is contained in:
aditya.siregar
2024-08-15 23:01:25 +07:00
parent 203059918b
commit 8b4a89d3c7
5 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -287,8 +287,8 @@ func (h *Handler) toSiteResponse(resp *entity.Site) response.Site {
CreatedAt: resp.CreatedAt.Format(time.RFC3339),
UpdatedAt: resp.UpdatedAt.Format(time.RFC3339),
Products: h.toProductResponseList(resp.Products),
Lat: resp.Lat,
Long: resp.Long,
Lat: *resp.Latitude,
Long: *resp.Longitude,
}
}