Skip to content

Commit

Permalink
update router
Browse files Browse the repository at this point in the history
  • Loading branch information
Marketen committed May 23, 2024
1 parent 593f630 commit 22d4c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listener/internal/api/routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func SetupRouter(dbCollection *mongo.Collection, beaconNodeUrls map[types.Networ
//TODO: implement handler for GET signatures
r.Handle("/signatures", middleware.JWTMiddleware(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
// Assuming you have a handler for GET signatures
handlers.PostSignatures(w, r, dbCollection, beaconNodeUrls)
handlers.PostSignatures(w, r, dbCollection, beaconNodeUrls, maxEntriesPerBson)
}))).Methods(http.MethodGet)

return r
Expand Down

0 comments on commit 22d4c11

Please sign in to comment.