This commit is contained in:
yystopf 2021-10-19 14:49:35 +08:00
parent dbe47dbddf
commit 3ce8723de2
2 changed files with 3 additions and 3 deletions

View File

@ -28,6 +28,6 @@ class TemplateMessageSetting::ManageProject < TemplateMessageSetting
self.find_or_create_by(name: "有新的易修", key: "Issue")
self.find_or_create_by(name: "有新的合并请求", key: "PullRequest")
self.find_or_create_by(name: "有成员变动", key: "Member")
self.find_or_create_by(name: "设置更改", key: "SettingChanged")
self.find_or_create_by(name: "仓库设置更改", key: "SettingChanged")
end
end

View File

@ -27,7 +27,7 @@ class TemplateMessageSetting::Normal < TemplateMessageSetting
self.find_or_create_by(name: "账号有权限变更", key: "Permission")
self.find_or_create_by(name: "被拉入或移出组织", key: "Organization")
self.find_or_create_by(name: "被拉入或移出项目", key: "Project")
self.find_or_create_by(name: "易修指派", key: "IssueAssigned")
self.find_or_create_by(name: "合并请求指派", key: "PullRequestAssigned")
self.find_or_create_by(name: "有新的易修指派给我", key: "IssueAssigned")
self.find_or_create_by(name: "有新的合并请求指派给我", key: "PullRequestAssigned")
end
end