Skip to content

Commit 1ebd04e

Browse files
authored
The following endpoints are being removed: (#2781)
/transactions/uphold /transactions/gemini /votes
1 parent 11b9512 commit 1ebd04e

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

services/grant/cmd/grant.go

-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,6 @@ func setupRouter(ctx context.Context, logger *zerolog.Logger) (context.Context,
529529
}
530530

531531
r.Mount("/v1/webhooks", skus.WebhookRouter(skusService))
532-
r.Mount("/v1/votes", skus.VoteRouter(skusService, middleware.InstrumentHandler))
533532

534533
// add profiling flag to enable profiling routes
535534
if os.Getenv("PPROF_ENABLED") != "" {

services/skus/controllers.go

-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ func Router(
8888
)
8989

9090
r.Method(http.MethodGet, "/{orderID}/transactions", metricsMwr("GetTransactions", GetTransactions(svc)))
91-
r.Method(http.MethodPost, "/{orderID}/transactions/uphold", metricsMwr("CreateUpholdTransaction", CreateUpholdTransaction(svc)))
92-
r.Method(http.MethodPost, "/{orderID}/transactions/gemini", metricsMwr("CreateGeminiTransaction", CreateGeminiTransaction(svc)))
9391

9492
r.Method(
9593
http.MethodPost,

0 commit comments

Comments
 (0)