Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
ImSoZRious committed Aug 4, 2023
1 parent 54009de commit 6c7f5a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/service/user/user.service.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ func RawToDto(in *user.User, imgUrl string) *proto.User {
baanId = in.BaanID.String()
}

if in.WantBottle == nil {
in.WantBottle = utils.BoolAdr(false)
}

return &proto.User{
Id: in.ID.String(),
Title: in.Title,
Expand Down

0 comments on commit 6c7f5a1

Please sign in to comment.