mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02:00
Add followed & banned status to search result in backend
This commit is contained in:
parent
25be953a11
commit
acfa1374ff
3 changed files with 45 additions and 7 deletions
|
@ -9,6 +9,13 @@ type UIDName struct {
|
|||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type SearchResult struct {
|
||||
UID string `json:"user_id"`
|
||||
Name string `json:"name"`
|
||||
Followed bool `json:"followed"`
|
||||
Banned bool `json:"banned"`
|
||||
}
|
||||
|
||||
type GenericResponse struct {
|
||||
Status string `json:"status"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue