Skip to content

Commit

Permalink
Fix api endpoints accidental rename
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenWeathers committed Jun 24, 2023
1 parent fb52298 commit 6fa24e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func Init(apiService Service) *Service {
a.Router.PathPrefix("/swagger/").Handler(httpSwagger.Handler(httpSwagger.URL(swaggerJsonPath)))
}

apiRouter := a.Router.PathPrefix("/APIService").Subrouter()
apiRouter := a.Router.PathPrefix("/api").Subrouter()
userRouter := apiRouter.PathPrefix("/users").Subrouter()
orgRouter := apiRouter.PathPrefix("/organizations").Subrouter()
teamRouter := apiRouter.PathPrefix("/teams").Subrouter()
Expand Down

0 comments on commit 6fa24e7

Please sign in to comment.