fix delete assets, wrong look up

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2025-10-20 19:25:50 +02:00
parent b5e3c6979d
commit bb11c6e337
+1 -1
View File
@@ -655,7 +655,7 @@ func (a *Asset) DeleteAllByDomainID(
return errs.ErrAuthorizationFailed
}
// get assets
assets, err := a.AssetRepository.GetAllByCompanyID(
assets, err := a.AssetRepository.GetAllByDomainID(
ctx,
domainID,
)