summaryrefslogtreecommitdiffstats
path: root/services/automerge/automerge.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/automerge/automerge.go')
-rw-r--r--services/automerge/automerge.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/automerge/automerge.go b/services/automerge/automerge.go
index d0f83f4a93..ca008ebfe6 100644
--- a/services/automerge/automerge.go
+++ b/services/automerge/automerge.go
@@ -82,7 +82,7 @@ func ScheduleAutoMerge(ctx context.Context, doer *user_model.User, pull *issues_
_, err = issues_model.CreateAutoMergeComment(ctx, issues_model.CommentTypePRScheduledToAutoMerge, pull, doer)
return err
}, ctx)
- return
+ return scheduled, err
}
// RemoveScheduledAutoMerge cancels a previously scheduled pull request