Skip to content

Commit

Permalink
fix(stats): fix invalid scope
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Oct 22, 2024
1 parent f800260 commit 69e5af5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/stats/_interface.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import { addScope } from '~/helpers/socket.js';
import Module from '../_interface.js';

import { addScope } from '~/helpers/socket.js';

class Overlay extends Module {
constructor() {
super('stats', true);
}

scope () {
scope() {
// add scope if used
addScope('stats:read');
return 'stats:read';
return 'stats';
}
}

Expand Down

0 comments on commit 69e5af5

Please sign in to comment.