Add invite user feature for admin
This commit is contained in:
@@ -83,6 +83,13 @@ type UserGet struct {
|
||||
ID uint `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Admin bool `json:"admin"`
|
||||
Activated bool `json:"activated"`
|
||||
InviteToken string `json:"invitetoken"`
|
||||
AddedBooksCount int64 `json:"addedbookscount"`
|
||||
UserBooksCount int64 `json:"userbookscount"`
|
||||
}
|
||||
|
||||
type InviteUserPost struct {
|
||||
ID uint `json:"id"`
|
||||
Token string `json:"token"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user