style
This commit is contained in:
parent
71603e6ccd
commit
b19cc625bb
|
@ -66,7 +66,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
private httpRequestService: HttpRequestService,
|
private httpRequestService: HttpRequestService,
|
||||||
private roleService: RoleService,
|
private roleService: RoleService,
|
||||||
) {
|
) {
|
||||||
// @ts-expect-error
|
// @ts-expect-error: Functionality can be implemented here with minimal modifications.
|
||||||
super(meta, paramDef, async (ps, me) => {
|
super(meta, paramDef, async (ps, me) => {
|
||||||
const policies = await this.roleService.getUserPolicies(me.id);
|
const policies = await this.roleService.getUserPolicies(me.id);
|
||||||
if (!policies.canUseTTS) {
|
if (!policies.canUseTTS) {
|
||||||
|
|
Loading…
Reference in New Issue