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

pull/68/head
xiaojunnuo 2023-12-12 23:35:41 +08:00
parent 40f3f06ed3
commit aaa322464d
1 changed files with 1 additions and 0 deletions

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) {