Make revive linter happy

This commit is contained in:
Gusted 2022-08-22 18:31:39 +02:00
parent 18809f811d
commit b9dd4a2f5f
No known key found for this signature in database
GPG key ID: FD821B732837125F

View file

@ -134,10 +134,9 @@ func RepoInbox(ctx *context.APIContext) {
if t.Origin != nil {
// New pull request
return activitypub.PullRequest(ctx, t)
} else {
// New issue
return activitypub.Issue(ctx, t)
}
// New issue
return activitypub.Issue(ctx, t)
})
case ap.NoteType:
// New comment