diff --git a/server/nodeRouter.go b/server/nodeRouter.go index cb8adcf..7fb302c 100644 --- a/server/nodeRouter.go +++ b/server/nodeRouter.go @@ -4,6 +4,7 @@ import ( "io" "log" "net/http" + "strings" "time" "github.com/gin-gonic/gin" @@ -57,7 +58,7 @@ func getNodeInfo(c *gin.Context) { c.JSON(http.StatusOK, gin.H{ "message": "Hello World", - "modemInfo": info, - "signal": signalStrength, + "modemInfo": strings.Join(info, " "), + "signal": strings.Join(signalStrength, " "), }) }