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

* Fix: 権限設定漏れ

* requireAdmin
This commit is contained in:
MeiMei 2020-03-30 11:45:57 +09:00 committed by GitHub
parent 4c6d0386b9
commit 47322b35ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: {
},