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 {
|
if t.Origin != nil {
|
||||||
// New pull request
|
// New pull request
|
||||||
return activitypub.PullRequest(ctx, t)
|
return activitypub.PullRequest(ctx, t)
|
||||||
} else {
|
}
|
||||||
// New issue
|
// New issue
|
||||||
return activitypub.Issue(ctx, t)
|
return activitypub.Issue(ctx, t)
|
||||||
}
|
|
||||||
})
|
})
|
||||||
case ap.NoteType:
|
case ap.NoteType:
|
||||||
// New comment
|
// New comment
|
||||||
|
|
Loading…
Add table
Reference in a new issue