mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 12:03:08 +02:00
Fix api permission definition
This commit is contained in:
parent
1de7dc94e1
commit
aa4493fe5c
2 changed files with 0 additions and 2 deletions
|
@ -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 a new issue