mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-25 07:06:25 -08:00
Add middleware to account api-v1
This commit is contained in:
parent
ab617461fa
commit
087454659b
|
@ -1,8 +1,12 @@
|
|||
import { Router } from "express";
|
||||
import Files from "../../../lib/files";
|
||||
|
||||
import { getAccount } from "../../../lib/middleware";
|
||||
|
||||
let router = Router()
|
||||
|
||||
router.use(getAccount)
|
||||
|
||||
module.exports = function(files: Files) {
|
||||
return router
|
||||
}
|
Loading…
Reference in a new issue