diff --git a/internal/api/graphql/server.go b/internal/api/graphql/server.go index 8e7db063..e180544b 100644 --- a/internal/api/graphql/server.go +++ b/internal/api/graphql/server.go @@ -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()) }