Add middleware to account api-v1

This commit is contained in:
linkability 2023-10-04 16:10:42 +01:00
parent ab617461fa
commit 087454659b
No known key found for this signature in database

View file

@ -1,8 +1,12 @@
import { Router } from "express"; import { Router } from "express";
import Files from "../../../lib/files"; import Files from "../../../lib/files";
import { getAccount } from "../../../lib/middleware";
let router = Router() let router = Router()
router.use(getAccount)
module.exports = function(files: Files) { module.exports = function(files: Files) {
return router return router
} }