Skip to content

Commit

Permalink
Fix v1 API endpoints (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfreda authored Nov 21, 2023
1 parent 6725927 commit a44ba53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/commands/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ func (c *Command) Run(args []string) int {
api.MeSubscriptionsHandler(cfg, c.Log, goog, db)},
{"/api/v1/people", api.PeopleDataHandler(cfg, c.Log, goog)},
{"/api/v1/products", api.ProductsHandler(cfg, algoSearch, c.Log)},
{"/api/v1/products", apiv2.ProductsHandler(srv)},
{"/api/v1/projects", apiv2.ProjectsHandler(srv)},
{"/api/v1/projects/", apiv2.ProjectHandler(srv)},
{"/api/v1/reviews/",
api.ReviewHandler(cfg, c.Log, algoSearch, algoWrite, goog, db)},
{"/api/v1/web/analytics", api.AnalyticsHandler(c.Log)},
Expand Down

0 comments on commit a44ba53

Please sign in to comment.