APIの権限設定漏れを修正 (#6202)

* Fix: 権限設定漏れ

* requireAdmin
This commit is contained in:
MeiMei 2020-03-30 11:45:57 +09:00 committed by GitHub
parent a6f4923d18
commit 76cadcd707
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,8 @@ import define from '../../define';
import { getConnection } from 'typeorm';
export const meta = {
requireCredential: false as const,
requireCredential: true as const,
requireAdmin: true,
desc: {
'en-US': 'Get table stats'

View File

@ -5,7 +5,8 @@ import define from '../../define';
import redis from '../../../../db/redis';
export const meta = {
requireCredential: false as const,
requireCredential: true as const,
requireAdmin: true,
desc: {
},