Merge branch 'v2-dev' into v2_admin_mode

This commit is contained in:
xiaojunnuo
2026-02-13 22:58:07 +08:00
2 changed files with 7 additions and 7 deletions

View File

@@ -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({});
}
}