Skip to content

Commit

Permalink
fix(BUX-629): correct callback route (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
wregulski authored Mar 4, 2024
1 parent 52d9e01 commit be747be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions actions/transactions/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ func NewHandler(appConfig *config.AppConfig, services *config.AppServices) (rout
})

callbackEndpoints := routes.CallbackEndpointsFunc(func(router *gin.RouterGroup) {
callbackTransactionGroup := router.Group("/transaction")
callbackTransactionGroup.POST("/callback", action.broadcastCallback)
router.POST(config.BroadcastCallbackRoute, action.broadcastCallback)
})

return basicEndpoints, apiEndpoints, callbackEndpoints
Expand Down

0 comments on commit be747be

Please sign in to comment.