mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 02:11:01 +00:00
Don't prematurely exit updateGitHubStatus()
This commit is contained in:
parent
78839ece3b
commit
cf9b791071
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error {
|
|||
// get the user from the database
|
||||
// since we need his / her GitHub token
|
||||
user, err := database.GetUser(repo.UserID)
|
||||
if err == nil {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue