Feature/get bank info #23

Closed
nguyenphamquangtue wants to merge 57 commits from feature/get-bank-info into master
1 changed files with 2 additions and 2 deletions
Showing only changes of commit b9b55d144e - Show all commits

View File

@ -150,14 +150,14 @@ func (l Location) GetProvincesByCondition(p model.ProvinceRequestCondition) ([]*
}
// GetDistrictByCondition ...
func (l Location) GetDistrictByCondition(p model.DistrictRequestCondition) (*model.LocationProvinceDetailResponse, error) {
func (l Location) GetDistrictByCondition(p model.DistrictRequestCondition) (*model.LocationDistrictDetailResponse, error) {
msg, err := natsio.GetServer().Request(subject.Location.GetDistrictByCondition, toBytes(p))
if err != nil {
return nil, err
}
var r struct {
Data *model.LocationProvinceDetailResponse `json:"data"`
Data *model.LocationDistrictDetailResponse `json:"data"`
Error string `json:"error"`
}