mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-10-31 23:31:48 +09:00
Fix api permission definition
This commit is contained in:
parent
1de7dc94e1
commit
aa4493fe5c
@ -3,7 +3,6 @@ import { getConnection } from 'typeorm';
|
|||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
requireCredential: true as const,
|
requireCredential: true as const,
|
||||||
requireAdmin: true,
|
|
||||||
requireModerator: true,
|
requireModerator: true,
|
||||||
|
|
||||||
desc: {
|
desc: {
|
||||||
|
@ -6,7 +6,6 @@ import redis from '../../../../db/redis';
|
|||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
requireCredential: true as const,
|
requireCredential: true as const,
|
||||||
requireAdmin: true,
|
|
||||||
requireModerator: true,
|
requireModerator: true,
|
||||||
|
|
||||||
desc: {
|
desc: {
|
||||||
|
Loading…
Reference in New Issue
Block a user