Make revive linter happy
This commit is contained in:
parent
18809f811d
commit
b9dd4a2f5f
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Reference in a new issue