From 047c7cd6e43548cc46a758fd731ab2f05558942a Mon Sep 17 00:00:00 2001 From: Wessie Date: Wed, 1 May 2024 00:32:35 +0100 Subject: [PATCH] website/api/v1: remove leftover unused types from earlier refactor --- website/api/v1/request.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/website/api/v1/request.go b/website/api/v1/request.go index f9d39f8b..d5f4c57b 100644 --- a/website/api/v1/request.go +++ b/website/api/v1/request.go @@ -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"