mirror of https://gitee.com/topiam/eiam
🐛 修复禁用邮件模版异常
parent
a0a8e9fbe0
commit
d5dc2aeaf9
|
@ -151,7 +151,7 @@ public class MailTemplateServiceImpl extends SettingServiceImpl implements MailT
|
|||
@Override
|
||||
@CacheEvict(key = "#type.code")
|
||||
public void disableCustomEmailTemplate(MailType type) {
|
||||
mailTemplateRepository.deleteByType(type);
|
||||
mailTemplateRepository.deleteByType(type.getCode());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue