Skip to content

Commit cce0bd8

Browse files
committed
Update services version
1 parent c815747 commit cce0bd8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

services/main/services.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ import (
1515
"github.com/rs/cors"
1616
)
1717

18+
const (
19+
ServicesVersion = "2.2.0"
20+
)
21+
1822
func main() {
1923
ctx, err := context.BuildContext()
2024
if err != nil {
@@ -27,7 +31,7 @@ func main() {
2731
}
2832

2933
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)
3135
routes.AddTransferRoutes(router, ctx)
3236
routes.AddStakerRoutes(router, ctx)
3337
routes.AddTransactionRoutes(router, ctx, epochs)

0 commit comments

Comments
 (0)