parent
4c6d0386b9
commit
47322b35ff
2 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,8 @@ import define from '../../define';
|
||||||
import { getConnection } from 'typeorm';
|
import { getConnection } from 'typeorm';
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
requireCredential: false as const,
|
requireCredential: true as const,
|
||||||
|
requireAdmin: true,
|
||||||
|
|
||||||
desc: {
|
desc: {
|
||||||
'en-US': 'Get table stats'
|
'en-US': 'Get table stats'
|
||||||
|
|
|
@ -5,7 +5,8 @@ import define from '../../define';
|
||||||
import redis from '../../../../db/redis';
|
import redis from '../../../../db/redis';
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
requireCredential: false as const,
|
requireCredential: true as const,
|
||||||
|
requireAdmin: true,
|
||||||
|
|
||||||
desc: {
|
desc: {
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue