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( authRoutes.post(
"/dfv", "/dfv",
requiresAccount, requiresAccount,
requiresPermissions("manage"), requiresPermissions("manage_files"),
// Used body-parser // Used body-parser
async (ctx) => { async (ctx) => {
const body = await ctx.req.json() const body = await ctx.req.json()

View file

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