mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
send country code in ws, update profile api (#22)
* send country code in ws * make ddns_profiles optional field * update profile api
This commit is contained in:
1 parent
07989705d2
commit
e90941f52b
6 files changed
+62
-10
No files matched your search
@@ -4,3 +4,8 @@ type UserForm struct {
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password,omitempty" gorm:"type:char(72)"`
|
||||
}
|
||||
|
||||
type ProfileForm struct {
|
||||
OriginalPassword string `json:"original_password,omitempty"`
|
||||
NewPassword string `json:"new_password,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user