chore: adapt code to new teleport feature
This commit is contained in:
@@ -19,7 +19,7 @@ func (repo *CustomerRepo) Get(id uint) (*model.Customer, error) {
|
||||
var customer model.Customer
|
||||
|
||||
err := db.DB.
|
||||
Preload("Role").
|
||||
Preload("Role.Permissions").
|
||||
First(&customer, id).
|
||||
Error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user