Make revive linter happy
This commit is contained in:
parent
18809f811d
commit
b9dd4a2f5f
|
@ -134,10 +134,9 @@ func RepoInbox(ctx *context.APIContext) {
|
||||||
if t.Origin != nil {
|
if t.Origin != nil {
|
||||||
// New pull request
|
// New pull request
|
||||||
return activitypub.PullRequest(ctx, t)
|
return activitypub.PullRequest(ctx, t)
|
||||||
} else {
|
|
||||||
// New issue
|
|
||||||
return activitypub.Issue(ctx, t)
|
|
||||||
}
|
}
|
||||||
|
// New issue
|
||||||
|
return activitypub.Issue(ctx, t)
|
||||||
})
|
})
|
||||||
case ap.NoteType:
|
case ap.NoteType:
|
||||||
// New comment
|
// New comment
|
||||||
|
|
Reference in New Issue