mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 22:23:50 +03:00
missed by diff
This commit is contained in:
parent
9d32c5a29b
commit
fddc063b97
2 changed files with 2 additions and 3 deletions
|
@ -131,7 +131,6 @@ package "code.gitea.io/gitea/models/user"
|
||||||
func (ErrUserInactive).Unwrap
|
func (ErrUserInactive).Unwrap
|
||||||
func IsErrExternalLoginUserAlreadyExist
|
func IsErrExternalLoginUserAlreadyExist
|
||||||
func IsErrExternalLoginUserNotExist
|
func IsErrExternalLoginUserNotExist
|
||||||
func NewFederatedUser
|
|
||||||
func IsErrUserSettingIsNotExist
|
func IsErrUserSettingIsNotExist
|
||||||
func GetUserAllSettings
|
func GetUserAllSettings
|
||||||
func DeleteUserSetting
|
func DeleteUserSetting
|
||||||
|
|
|
@ -137,8 +137,8 @@ func NewRepositoryID(uri, source string) (RepositoryID, error) {
|
||||||
|
|
||||||
// validate Person specific path
|
// validate Person specific path
|
||||||
repoID := RepositoryID{result}
|
repoID := RepositoryID{result}
|
||||||
if valid, outcome := validation.IsValid(repoID); !valid {
|
if valid, err := validation.IsValid(repoID); !valid {
|
||||||
return RepositoryID{}, outcome
|
return RepositoryID{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return repoID, nil
|
return repoID, nil
|
||||||
|
|
Loading…
Reference in a new issue