Fix comment for EmailNotificationsAndYourOwn constant (#24236)

This fixes some copypasta in the constant definitions for the
`User.EmailNotificationsPreference` field. No code changes.
pull/24194/head^2
Infinoid 2 years ago committed by GitHub
parent 3274ab2943
commit 949ba4894b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      models/user/user.go

@ -62,7 +62,7 @@ const (
EmailNotificationsOnMention = "onmention"
// EmailNotificationsDisabled indicates that the user would not like to be notified via email.
EmailNotificationsDisabled = "disabled"
// EmailNotificationsEnabled indicates that the user would like to receive all email notifications and your own
// EmailNotificationsAndYourOwn indicates that the user would like to receive all email notifications and your own
EmailNotificationsAndYourOwn = "andyourown"
)

Loading…
Cancel
Save