Skip to content

Commit 6c3cbde

Browse files
committed
small wording nit
suggestions from @jolheiser - thx
1 parent 6ee03e2 commit 6c3cbde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routers/repo/issue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,7 +1449,7 @@ func ChangeIssueReaction(ctx *context.Context, form auth.ReactionForm) {
14491449
switch ctx.Params(":action") {
14501450
case "react":
14511451
if !util.IsStringInSlice(form.Content, setting.UI.Reactions) {
1452-
log.Error("ChangeIssueReaction: Reaction '%s' is no allowed reaction", form.Content)
1452+
log.Error("ChangeIssueReaction: '%s' is not an allowed reaction", form.Content)
14531453
return
14541454
}
14551455

@@ -1549,7 +1549,7 @@ func ChangeCommentReaction(ctx *context.Context, form auth.ReactionForm) {
15491549
switch ctx.Params(":action") {
15501550
case "react":
15511551
if !util.IsStringInSlice(form.Content, setting.UI.Reactions) {
1552-
log.Error("ChangeIssueReaction: Reaction '%s' is no allowed reaction", form.Content)
1552+
log.Error("ChangeIssueReaction: '%s' is not an allowed reaction", form.Content)
15531553
return
15541554
}
15551555

0 commit comments

Comments
 (0)