Skip to content

Commit

Permalink
Merge pull request #2089 from akto-api-security/bugfix/allow_active_t…
Browse files Browse the repository at this point in the history
…emplates_run_test

allow only active templates in run test
  • Loading branch information
Ark2307 authored Feb 13, 2025
2 parents 84e1b80 + 9c67761 commit 54a70ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function RunTest({ endpoints, filtered, apiCollectionId, disabled, runTestFromOu
metaDataObj = await transform.getAllSubcategoriesData(true, "runTests")
}
let categories = metaDataObj.categories
let businessLogicSubcategories = metaDataObj.subCategories
let businessLogicSubcategories = metaDataObj.subCategories.filter((subCategory) => {return !subCategory.inactive})
const testRolesResponse = await testingApi.fetchTestRoles()
var testRoles = testRolesResponse.testRoles.map(testRole => {
return {
Expand Down

0 comments on commit 54a70ea

Please sign in to comment.