Added ChangeUserName handler, untested and WIP,
This commit is contained in:
parent
1919b7cb99
commit
3515a86bbb
5 changed files with 53 additions and 47 deletions
|
@ -19,3 +19,8 @@ type RoleChange struct {
|
|||
Username string `json:"username"`
|
||||
Projectname string `json:"projectname"`
|
||||
}
|
||||
|
||||
type NameChange struct {
|
||||
ID int `json:"id" db:"id"`
|
||||
Name string `json:"name" db:"name"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue