mirror of
https://github.com/certd/certd.git
synced 2026-08-03 20:05:54 +08:00
chore: log add
This commit is contained in:
@@ -129,6 +129,7 @@ export class UserSettingsController extends CrudController<UserSettingsService>
|
|||||||
entity.userId = userId;
|
entity.userId = userId;
|
||||||
entity.setting = JSON.stringify({ preferences });
|
entity.setting = JSON.stringify({ preferences });
|
||||||
await this.service.save(entity);
|
await this.service.save(entity);
|
||||||
|
this.auditLog({ content: "保存了用户偏好设置" });
|
||||||
return this.ok({});
|
return this.ok({});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user