This commit is contained in:
MomentQYC 2024-10-07 10:05:08 +08:00
parent 71603e6ccd
commit b19cc625bb
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
private httpRequestService: HttpRequestService,
private roleService: RoleService,
) {
// @ts-expect-error
// @ts-expect-error: Functionality can be implemented here with minimal modifications.
super(meta, paramDef, async (ps, me) => {
const policies = await this.roleService.getUserPolicies(me.id);
if (!policies.canUseTTS) {