Update Regency
This commit is contained in:
parent
3252456413
commit
ddc2c4b4f4
@ -289,6 +289,8 @@ func (h *Handler) toSiteResponse(resp *entity.Site) response.Site {
|
||||
Products: h.toProductResponseList(resp.Products),
|
||||
Lat: *resp.Latitude,
|
||||
Long: *resp.Longitude,
|
||||
Region: resp.Region,
|
||||
Regency: resp.Regency,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -20,6 +20,8 @@ type Site struct {
|
||||
Products []Product `json:"products"`
|
||||
Lat float64 `json:"lat"`
|
||||
Long float64 `json:"long"`
|
||||
Region string `json:"region"`
|
||||
Regency string `json:"regency"`
|
||||
}
|
||||
|
||||
type SiteName struct {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user