User login

This commit is contained in:
2024-01-28 00:05:19 +08:00
parent d484b6b973
commit 4f33b9e0f6
49 changed files with 2303 additions and 10 deletions

View File

@ -29,7 +29,7 @@ func LookupAccount(id string) (models.Account, error) {
if err := database.C.
Where(models.Account{
BaseModel: models.BaseModel{ID: contact.AccountID},
}).First(&contact).Error; err == nil {
}).First(&account).Error; err == nil {
return account, err
}
}