fix: add missing ctx

This commit is contained in:
Jason Song
2022-12-05 14:46:34 +08:00
parent bd1af5b7f8
commit fdd3444c52
5 changed files with 26 additions and 26 deletions

View File

@ -988,7 +988,7 @@ func GetPossbileUserByID(ctx context.Context, id int64) (*User, error) {
case 0:
return nil, ErrUserNotExist{}
default:
return GetUserByIDCtx(ctx, id)
return GetUserByID(ctx, id)
}
}