mirror of
https://github.com/versia-pub/versia-go.git
synced 2026-03-12 20:19:15 +01:00
chore: remove uses of Lysand
This commit is contained in:
parent
6e59386f60
commit
9cac88861a
8 changed files with 10 additions and 10 deletions
|
|
@ -10,7 +10,7 @@ type User struct {
|
|||
Username string `json:"username"`
|
||||
}
|
||||
|
||||
type LysandUser versia.User
|
||||
type VersiaUser versia.User
|
||||
|
||||
type FetchUserResponse = APIResponse[User]
|
||||
|
||||
|
|
|
|||
|
|
@ -47,5 +47,5 @@ func (i *Handler) SearchUser(c *fiber.Ctx) error {
|
|||
return api_schema.ErrInternalServerError(nil)
|
||||
}
|
||||
|
||||
return c.JSON((*api_schema.LysandUser)(u.ToLysand()))
|
||||
return c.JSON((*api_schema.VersiaUser)(u.ToLysand()))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue