missed by diff

This commit is contained in:
Michael Jerger 2024-05-14 08:48:05 +02:00
parent 9d32c5a29b
commit fddc063b97
2 changed files with 2 additions and 3 deletions

View file

@ -131,7 +131,6 @@ package "code.gitea.io/gitea/models/user"
func (ErrUserInactive).Unwrap
func IsErrExternalLoginUserAlreadyExist
func IsErrExternalLoginUserNotExist
func NewFederatedUser
func IsErrUserSettingIsNotExist
func GetUserAllSettings
func DeleteUserSetting

View file

@ -137,8 +137,8 @@ func NewRepositoryID(uri, source string) (RepositoryID, error) {
// validate Person specific path
repoID := RepositoryID{result}
if valid, outcome := validation.IsValid(repoID); !valid {
return RepositoryID{}, outcome
if valid, err := validation.IsValid(repoID); !valid {
return RepositoryID{}, err
}
return repoID, nil