fix: rename to GetPossibleUserByID

This commit is contained in:
Jason Song
2023-01-04 18:10:30 +08:00
parent 0887e98f2a
commit 6148e4c940
6 changed files with 7 additions and 7 deletions

View File

@ -350,7 +350,7 @@ func (c *Comment) LoadPoster(ctx context.Context) (err error) {
return nil
}
c.Poster, err = user_model.GetPossbileUserByID(ctx, c.PosterID)
c.Poster, err = user_model.GetPossibleUserByID(ctx, c.PosterID)
if err != nil {
if user_model.IsErrUserNotExist(err) {
c.PosterID = -1