mirror of https://github.com/certd/certd
fix: 修复邮箱设置无效的bug
parent
40f3f06ed3
commit
aaa322464d
|
@ -54,6 +54,7 @@ export class SettingsService extends BaseService<SettingsEntity> {
|
||||||
const entity = await this.repository.findOne({
|
const entity = await this.repository.findOne({
|
||||||
where: {
|
where: {
|
||||||
key: bean.key,
|
key: bean.key,
|
||||||
|
userId: bean.userId,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (entity) {
|
if (entity) {
|
||||||
|
|
Loading…
Reference in New Issue