FUCKFUCKFUCK

This commit is contained in:
May 2024-05-21 20:05:56 -07:00
parent b5bf657d79
commit 037684094a
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ export default function (files: Files) {
authRoutes.post(
"/dfv",
requiresAccount,
requiresPermissions("manage"),
requiresPermissions("manage_files"),
// Used body-parser
async (ctx) => {
const body = await ctx.req.json()

View file

@ -49,7 +49,7 @@ export default function (files: Files) {
fileApiRoutes.post(
"/manage",
requiresPermissions("manage"),
requiresPermissions("manage_files"),
async (ctx) => {
let acc = ctx.get("account") as Accounts.Account
const body = await ctx.req.json()