mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-27 12:11:12 +08:00
Update reaction.go to conform to lint revive
This commit is contained in:
parent
98baaa2446
commit
5a49efbd3e
@ -33,7 +33,6 @@ func AddReaction(ctx *context.Context, form *forms.ReactionForm, comment *conver
|
||||
|
||||
log.Trace("Reaction for issue created: %d/%d/%d", ctx.Repo.Repository.ID, issue.ID, reaction.ID)
|
||||
} else if comment != nil {
|
||||
|
||||
reaction, err := conversation_service.CreateCommentReaction(ctx, ctx.Doer, comment, form.Content)
|
||||
if err != nil {
|
||||
if conversations_model.IsErrForbiddenConversationReaction(err) || errors.Is(err, user_model.ErrBlockedUser) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user