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(
|
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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue