Skip to content

Commit

Permalink
phone error year creation building error
Browse files Browse the repository at this point in the history
  • Loading branch information
vovangy committed May 31, 2024
1 parent af85d41 commit 7a3b7ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/pkg/adverts/delivery/grpc/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ func (h *AdvertsServerHandler) UpdateAdvertById(ctx context.Context, reqAdv *gen
HouseProperties: housePropert,
FlatProperties: flatPropert,
Material: materl,
YearCreation: int(reqAdv.YearCreation),
}

err := h.uc.UpdateAdvertById(ctx, updData)
Expand Down
1 change: 1 addition & 0 deletions internal/pkg/adverts/delivery/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ func (h *AdvertsClientHandler) UpdateAdvertById(w http.ResponseWriter, r *http.R
AdvertType: data.TypeAdvert,
TypeSale: data.TypeSale,
Title: data.Title,
Phone: data.Phone,
Description: data.Description,
Price: data.Price,
IsAgent: data.IsAgent,
Expand Down

0 comments on commit 7a3b7ac

Please sign in to comment.