Skip to content

Commit

Permalink
z
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Nov 25, 2024
1 parent 7620df8 commit 0470d6d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions internal/search/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,6 @@ type hit struct {
ID model.SubjectID `json:"id"`
}

type ReponseSubject struct {
Date string `json:"date"`
Image string `json:"image"`
Type uint8 `json:"type"`
Summary string `json:"summary"`
Name string `json:"name"`
NameCN string `json:"name_cn"`
Tags []res.SubjectTag `json:"tags"`
Score float64 `json:"score"`
ID model.SubjectID `json:"id"`
Rank uint32 `json:"rank"`
NSFW bool `json:"nsfw"`
}

//nolint:funlen
func (c *client) Handle(ctx echo.Context) error {
auth := accessor.GetFromCtx(ctx)
Expand Down

0 comments on commit 0470d6d

Please sign in to comment.