Skip to content

Commit f767bc3

Browse files
committed
add comment
1 parent 576cdb5 commit f767bc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/auth/repo_form.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ func (f *NewSlackHookForm) Validate(ctx *macaron.Context, errs binding.Errors) b
226226
return validate(errs, ctx.Data, f, ctx.Locale)
227227
}
228228

229+
// HasInvalidChannel validates the channel name is in the right format
229230
func (f NewSlackHookForm) HasInvalidChannel() bool {
230231
return !utils.IsValidSlackChannel(f.Channel)
231232
}

0 commit comments

Comments
 (0)