Updated Accounts

This commit is contained in:
Trial97
2021-02-09 14:19:03 +02:00
committed by Dan Christian Bogos
parent 6d9585b1ff
commit 167f7c0a4a
3 changed files with 10 additions and 9 deletions

View File

@@ -941,7 +941,7 @@ func (iDB *InternalDB) GetAccountProfileDrv(tenant, id string) (ap *utils.Accoun
if !ok || x == nil {
return nil, utils.ErrNotFound
}
return x.(*utils.AccountProfile), nil
return x.(*utils.AccountProfile).Clone(), nil
}
func (iDB *InternalDB) SetAccountProfileDrv(ap *utils.AccountProfile) (err error) {