Skip to content

Commit

Permalink
Fix middleware import
Browse files Browse the repository at this point in the history
  • Loading branch information
lerrua committed Aug 21, 2017
1 parent f7d18d4 commit 3475713
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions root.go
Expand Up @@ -6,7 +6,6 @@ import (

"github.com/gorilla/mux"
"github.com/prest/config"
cfgMiddleware "github.com/prest/config/middlewares"
"github.com/prest/config/router"
"github.com/prest/controllers"
"github.com/prest/middlewares"
Expand Down Expand Up @@ -49,7 +48,7 @@ func Execute() {
}

func app() {
n := cfgMiddleware.GetApp()
n := middlewares.GetApp()
r := router.Get()
r.HandleFunc("/databases", controllers.GetDatabases).Methods("GET")
r.HandleFunc("/schemas", controllers.GetSchemas).Methods("GET")
Expand Down

0 comments on commit 3475713

Please sign in to comment.