mirror of
https://github.com/pushbits/server.git
synced 2025-06-02 02:32:05 +02:00
Implement deletion of users
This commit is contained in:
parent
18d11677ac
commit
f6ca287d0b
10 changed files with 112 additions and 35 deletions
|
@ -68,3 +68,8 @@ func (u *User) IntoExternalUser() *ExternalUser {
|
|||
MatrixID: u.MatrixID,
|
||||
}
|
||||
}
|
||||
|
||||
// DeleteUser is used to process queries for deleting users.
|
||||
type DeleteUser struct {
|
||||
ID uint `uri:"id"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue