Skip to content

Commit

Permalink
optimize(emozi): adapt new api
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Oct 14, 2024
1 parent e77badd commit b54f37c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions emozi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ type decoderesult struct {
type loginbody struct {
Username string `json:"username"`
Password string `json:"password"`
Salt string `json:"salt"`
}
1 change: 1 addition & 0 deletions emozi/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func (usr *User) Login() error {
err = json.NewEncoder(w).Encode(&loginbody{
Username: usr.name,
Password: passchlg,
Salt: salt,
})
if err != nil {
return err
Expand Down

0 comments on commit b54f37c

Please sign in to comment.