refactor: change info to be the model struct

This commit is contained in:
Derrick Hammer 2024-02-17 09:02:04 -05:00
parent 11f30700c3
commit bbf8ec79d3
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ func (s AccountServiceDefault) doLogin(user *models.User, ip string) (string, er
return token, nil
}
func (s AccountServiceDefault) updateAccountInfo(userId uint, info interface{}) error {
func (s AccountServiceDefault) updateAccountInfo(userId uint, info models.User) error {
var user models.User
user.ID = userId