We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 386ed1d commit 75f2252Copy full SHA for 75f2252
internal/transport/http/http.go
@@ -44,7 +44,8 @@ func apiKeyMiddleware(appConfig *config.AppConfig) gin.HandlerFunc {
44
// Skip API key check for health check, swagger routes, and transactions routes
45
if c.Request.URL.Path == "/healthz" ||
46
strings.HasPrefix(c.Request.URL.Path, "/swagger") ||
47
- strings.HasPrefix(c.Request.URL.Path, "/api/v1/transactions") {
+ strings.HasPrefix(c.Request.URL.Path, "/api/v1/transactions") ||
48
+ strings.HasPrefix(c.Request.URL.Path, "/api/v1/swap/generate-signature") {
49
c.Next()
50
return
51
}
0 commit comments