Finish edit and remove web hook
This commit is contained in:
@ -690,7 +690,7 @@ func GetRepositoryById(id int64) (*Repository, error) {
|
||||
} else if !has {
|
||||
return nil, ErrRepoNotExist
|
||||
}
|
||||
return repo, err
|
||||
return repo, nil
|
||||
}
|
||||
|
||||
// GetRepositories returns the list of repositories of given user.
|
||||
|
Reference in New Issue
Block a user