mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 10:46:00 +00:00
azure aith wip
This commit is contained in:
@@ -67,7 +67,7 @@ module.exports = function useController(app, electron, route, controller) {
|
||||
}
|
||||
|
||||
if (raw) {
|
||||
router[method](routeAction, controller[key]);
|
||||
router[method](routeAction, (req, res) => controller[key](req, res));
|
||||
} else {
|
||||
router[method](routeAction, async (req, res) => {
|
||||
// if (controller._init && !controller._init_called) {
|
||||
|
||||
Reference in New Issue
Block a user