Skip to content

Commit

Permalink
fix to bounties/ticket endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi-bams committed Dec 1, 2024
1 parent f985c70 commit b27150a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (th *ticketHandler) PostTicketDataToStakwork(w http.ResponseWriter, r *http
return
}

webhookURL := fmt.Sprintf("%s/bounty/ticket/review/", host)
webhookURL := fmt.Sprintf("%s/bounties/ticket/review/", host)

stakworkPayload := map[string]interface{}{
"name": "Hive Ticket Builder",
Expand Down
2 changes: 1 addition & 1 deletion routes/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func NewRouter() *http.Server {
r.Mount("/metrics", MetricsRoutes())
r.Mount("/features", FeatureRoutes())
r.Mount("/workflows", WorkflowRoutes())
r.Mount("/bounty/ticket", TicketRoutes())
r.Mount("/bounties/ticket", TicketRoutes())

r.Group(func(r chi.Router) {
r.Get("/tribe_by_feed", tribeHandlers.GetFirstTribeByFeed)
Expand Down

0 comments on commit b27150a

Please sign in to comment.