We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c815747 commit cce0bd8Copy full SHA for cce0bd8
services/main/services.go
@@ -15,6 +15,10 @@ import (
15
"github.com/rs/cors"
16
)
17
18
+const (
19
+ ServicesVersion = "2.2.0"
20
+)
21
+
22
func main() {
23
ctx, err := context.BuildContext()
24
if err != nil {
@@ -27,7 +31,7 @@ func main() {
27
31
}
28
32
29
33
muxRouter := mux.NewRouter()
30
- router := utils.NewSwaggerRouter(muxRouter, "Flare P-Chain Indexer", "0.1.1")
34
+ router := utils.NewSwaggerRouter(muxRouter, "Flare P-Chain Indexer", ServicesVersion)
35
routes.AddTransferRoutes(router, ctx)
36
routes.AddStakerRoutes(router, ctx)
37
routes.AddTransactionRoutes(router, ctx, epochs)
0 commit comments