Skip to content

Commit

Permalink
website/api/v1: remove leftover unused types from earlier refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Wessie committed Apr 30, 2024
1 parent ea959cd commit 047c7cd
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions website/api/v1/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,6 @@ func (a *API) PostRequest(w http.ResponseWriter, r *http.Request) {
}
}

type RequestInput struct {
radio.Song

Message string
Error string
}

func (RequestInput) TemplateBundle() string {
return "search"
}

func (RequestInput) TemplateName() string {
return "request-response"
}

func (a *API) postRequest(r *http.Request) error {
const op errors.Op = "website/api/v1/API.postRequest"

Expand Down

0 comments on commit 047c7cd

Please sign in to comment.