Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
macgeargear committed Jan 4, 2024
1 parent ad4ed09 commit 80d7bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/service/pet/pet.service.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (s *Service) AdoptPet(ctx context.Context, req *proto.AdoptPetRequest) (res
func RawToDtoList(in *[]*pet.Pet, imagesList [][]*image_proto.Image) ([]*proto.Pet, error) {
var result []*proto.Pet
if len(*in) != len(imagesList) {
return nil, status.Error(codes.InvalidArgument, "length of in and imageUrls have to be the same")
return nil, status.Error(codes.InvalidArgument, "length of in and imagesList have to be the same")
}

for i, e := range *in {
Expand Down

0 comments on commit 80d7bf1

Please sign in to comment.