Skip to content

Commit

Permalink
(fix) missing hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Jun 19, 2024
1 parent 261d573 commit c4129cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func (h *APIHandler) Get(c echo.Context) error {

result, err := watcher.Scan(req.Page, req.PerPage, req.Reverse)
result.Type = req.Type
result.Host = req.Host
if err != nil {
return echo.NewHTTPError(http.StatusInternalServerError, err)
}
Expand Down

0 comments on commit c4129cd

Please sign in to comment.