mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(web): search releases (#302)
* feat(releases): search in ui * refactor(releases): optimize query recent releases
This commit is contained in:
parent
38addb99e6
commit
258754643d
9 changed files with 153 additions and 13 deletions
|
@ -10,7 +10,7 @@ type encoder struct{}
|
|||
|
||||
type errorResponse struct {
|
||||
Message string `json:"message"`
|
||||
Status int `json:"status"`
|
||||
Status int `json:"status,omitempty"`
|
||||
}
|
||||
|
||||
func (e encoder) StatusResponse(ctx context.Context, w http.ResponseWriter, response interface{}, status int) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue