fix: add missing ctx

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

No files matched your search

+1 -1
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)
}
}