fix: 修复邮箱设置无效的bug

This commit is contained in:
xiaojunnuo
2023-12-12 23:35:41 +08:00
parent 40f3f06ed3
commit aaa322464d

View File

@@ -54,6 +54,7 @@ export class SettingsService extends BaseService<SettingsEntity> {
const entity = await this.repository.findOne({
where: {
key: bean.key,
userId: bean.userId,
},
});
if (entity) {