chore: adapt code to new teleport feature

This commit is contained in:
2026-04-03 15:58:35 +02:00
parent 61dc240c38
commit 76ca2a2eed
6 changed files with 65 additions and 55 deletions

View File

@@ -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