mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-07 21:07:56 +02:00
fix delete assets, wrong look up
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user