Skip to content

Commit

Permalink
Feat: register AckRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasse committed May 15, 2024
1 parent fde6560 commit e3b690f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/rfq/api/rest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func NewAPI(
// QuoteRoute is the API endpoint for handling quote related requests.
const (
QuoteRoute = "/quotes"
AckRoute = "/ack"
cacheInterval = time.Minute
)

Expand All @@ -133,6 +134,7 @@ func (r *QuoterAPIServer) Run(ctx context.Context) error {
// GET routes without the AuthMiddleware
// engine.PUT("/quotes", h.ModifyQuote)
engine.GET(QuoteRoute, h.GetQuotes)
engine.GET(AckRoute, r.GetRelayAck)

r.engine = engine

Expand Down

0 comments on commit e3b690f

Please sign in to comment.