update comment

This commit is contained in:
MaysWind
2024-08-30 00:40:59 +08:00
parent 73c69c3761
commit 805d3e65e3
+1 -1
View File
@@ -135,7 +135,7 @@ func (s *UserService) GetUserByEmail(c core.Context, email string) (*models.User
return user, nil
}
// GetUserAvatar returns the user avatar image data and image file extension according to user uid
// GetUserAvatar returns the user avatar image data according to user uid
func (s *UserService) GetUserAvatar(c core.Context, uid int64, fileExtension string) ([]byte, error) {
if uid <= 0 {
return nil, errs.ErrUserIdInvalid