mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
refactor: rename to actions
This commit is contained in:
@@ -983,8 +983,8 @@ func GetPossbileUserByID(ctx context.Context, id int64) (*User, error) {
|
||||
switch id {
|
||||
case -1:
|
||||
return NewGhostUser(), nil
|
||||
case BotUserID:
|
||||
return NewBotUser(), nil
|
||||
case ActionsUserID:
|
||||
return NewActionsUser(), nil
|
||||
case 0:
|
||||
return nil, ErrUserNotExist{}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user