Skip to content

Commit

Permalink
return the base64 code
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Mar 16, 2022
1 parent d4b4049 commit 139ccfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avatar/handler/avatar.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func (e *avatar) Generate(ctx context.Context, req *pb.GenerateRequest, rsp *pb.
return errors.InternalServerError("avatar.generate", "upload avatar image error: %v", err)
}

rsp.Base64 = base64String
rsp.Url = uploadResp.Url

return nil
Expand Down

0 comments on commit 139ccfc

Please sign in to comment.