diff options
Diffstat (limited to 'backend/main.go')
| -rw-r--r-- | backend/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/main.go b/backend/main.go index d636af7..0257113 100644 --- a/backend/main.go +++ b/backend/main.go @@ -75,9 +75,7 @@ func main() { apiGroup := e.Group("/api") apiGroup.Use(oapimiddleware.OapiRequestValidator(openApiSpec)) apiHandler := api.NewHandler(queries, gameHubs) - api.RegisterHandlers(apiGroup, api.NewStrictHandler(apiHandler, []api.StrictMiddlewareFunc{ - api.NewJWTMiddleware(), - })) + api.RegisterHandlers(apiGroup, api.NewStrictHandler(apiHandler, nil)) gameHubs.Run() |
