mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-28 16:36:27 -08:00
FUCKFUCKFUCK
This commit is contained in:
parent
b5bf657d79
commit
037684094a
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue