mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
fix: 修复邮箱设置无效的bug
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user