mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
update comment
This commit is contained in:
@@ -135,7 +135,7 @@ func (s *UserService) GetUserByEmail(c core.Context, email string) (*models.User
|
|||||||
return user, nil
|
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) {
|
func (s *UserService) GetUserAvatar(c core.Context, uid int64, fileExtension string) ([]byte, error) {
|
||||||
if uid <= 0 {
|
if uid <= 0 {
|
||||||
return nil, errs.ErrUserIdInvalid
|
return nil, errs.ErrUserIdInvalid
|
||||||
|
|||||||
Reference in New Issue
Block a user