mirror of
https://github.com/certd/certd.git
synced 2026-05-15 20:47:31 +08:00
pref: 自动优化数据库,释放被删除空间
This commit is contained in:
@@ -30,10 +30,7 @@ export class UserSettingsService extends BaseService<UserSettingsEntity> {
|
||||
};
|
||||
}
|
||||
|
||||
async getByKey(
|
||||
key: string,
|
||||
userId: number
|
||||
): Promise<UserSettingsEntity | null> {
|
||||
async getByKey(key: string, userId: number): Promise<UserSettingsEntity | null> {
|
||||
if (!key || !userId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user