Skip to content

Commit

Permalink
server.go update
Browse files Browse the repository at this point in the history
  • Loading branch information
dustindemmerle committed Sep 27, 2024
1 parent af0103e commit c8464f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/graphql/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewGraphQLAPI(a app.Heureka, cfg util.Config) *GraphQLAPI {
}

func (g *GraphQLAPI) CreateEndpoints(router *gin.Engine) {
//router.Use(g.auth.GetMiddleware())
router.Use(g.auth.GetMiddleware())
router.GET("/playground", g.playgroundHandler())
router.POST("/query", g.graphqlHandler())
}
Expand Down

0 comments on commit c8464f0

Please sign in to comment.