mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.git
synced 2026-09-21 16:52:03 -07:00
18 lines
307 B
JavaScript
18 lines
307 B
JavaScript
/*
|
|
REST API library for auth route.
|
|
*/
|
|
|
|
const AuthRESTRouter = require('./router')
|
|
|
|
class AuthRESTController {
|
|
constructor (localConfig = {}) {
|
|
this.authRESTRouter = new AuthRESTRouter()
|
|
}
|
|
|
|
attach (app) {
|
|
this.authRESTRouter.attachControllers(app)
|
|
}
|
|
}
|
|
|
|
module.exports = AuthRESTController
|