Skip to content

Commit

Permalink
Return realmID in String format from /
Browse files Browse the repository at this point in the history
  • Loading branch information
Imperiopolis committed Aug 11, 2023
1 parent 6e377fd commit 3b69ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func RunRouter(
e.Use(otelecho.Middleware("echo-router"))

e.GET("/", func(c echo.Context) error {
return c.JSON(http.StatusOK, map[string]interface{}{"realmID": realmID})
return c.JSON(http.StatusOK, map[string]interface{}{"realmID": realmID.String()})
})

e.POST("/req", func(c echo.Context) error {
Expand Down

0 comments on commit 3b69ff3

Please sign in to comment.