mirror of
https://github.com/certd/certd.git
synced 2026-04-16 05:50:50 +08:00
Merge branch 'v2-dev' into v2_admin_mode
This commit is contained in:
@@ -69,7 +69,7 @@ export class UserSettingsController extends CrudController<UserSettingsService>
|
||||
const entity = await this.service.getByKey(key, userId, projectId);
|
||||
return this.ok(entity);
|
||||
}
|
||||
@Post("/grant/get", { summary: Constants.per.authOnly })
|
||||
@Post("/grant/get", { summary: Constants.per.authOnly })
|
||||
async grantSettingsGet() {
|
||||
const userId = this.getUserId();
|
||||
const setting = await this.service.getSetting<UserGrantSetting>(userId, null, UserGrantSetting);
|
||||
@@ -89,6 +89,4 @@ export class UserSettingsController extends CrudController<UserSettingsService>
|
||||
return this.ok({});
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user