mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix delete secret scans after git app uninstall
This commit is contained in:
committed by
Akhil Mohan
parent
da4ae3c503
commit
257547ff4d
@@ -170,8 +170,8 @@ export const secretScanningServiceFactory = ({
|
||||
await secretScanningDal.transaction(async (tx) => {
|
||||
if (repositoryIds.length) {
|
||||
await Promise.all(
|
||||
Object.keys(repositoryIds).map((key) =>
|
||||
secretScanningDal.delete({ repositoryId: key }, tx)
|
||||
repositoryIds.map((repoId) =>
|
||||
secretScanningDal.delete({ repositoryId: repoId }, tx)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user