Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
fix: public api param
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Jul 14, 2021
1 parent 077558c commit 8469574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/app/public.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func publicAPI(
})

r.GET("/published/:name", func(c echo.Context) error {
name := c.Param("string")
name := c.Param("name")
if name == "" {
return echo.ErrNotFound
}
Expand All @@ -60,7 +60,7 @@ func publicAPI(
})

r.GET("/published_data/:name", func(c echo.Context) error {
name := c.Param("string")
name := c.Param("name")
if name == "" {
return echo.ErrNotFound
}
Expand Down

0 comments on commit 8469574

Please sign in to comment.