Skip to content

Commit

Permalink
fix '/log-collection/tree/:pk' route on reward system ui
Browse files Browse the repository at this point in the history
  • Loading branch information
0pcom committed Jan 7, 2025
1 parent a2c61f2 commit 833e103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/skywire-cli/commands/rewards/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ func server() {
surveycount, _ := script.FindFiles("rewards/log_backups/").Match("node-info.json").CountLines() //nolint
c.Writer.Write([]byte(fmt.Sprintf("Total surveys: %v\n", surveycount))) //nolint
c.Writer.Flush()
st, _ := script.Exec(`skywire cli log st -d rewards/log_backups -e rewards/tp_setup -rup ` + c.Param("pk")).Bytes() //nolint
c.Writer.Write(ansihtml.ConvertToHTML(st)) //nolint
st, _ := script.Exec(`skywire cli log st -d rewards/log_backups -rup ` + c.Param("pk")).Bytes() //nolint
c.Writer.Write(ansihtml.ConvertToHTML(st)) //nolint
c.Writer.Flush()
c.Writer.Write([]byte(htmltoplink)) //nolint
c.Writer.Flush()
Expand Down

0 comments on commit 833e103

Please sign in to comment.