Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
elegantmoose committed May 17, 2023
1 parent bf6a4c6 commit 93b8e85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/services/matrices-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ exports.retrieveVersionTechniquesById = async function(stixId, modified, callbac
error.parameterName = 'stixId';
return callback(error);
}

if (!modified) {
const error = new Error(errors.missingParameter);
error.parameterName = 'modified';
Expand Down Expand Up @@ -281,7 +280,7 @@ exports.retrieveVersionTechniquesById = async function(stixId, modified, callbac
}
}
}
// Add techniques to tactic
// Add techniques to tactic & store tactic
tactic['techniques'] = super_techniques;
tactics_techniques[tactic['stix']['name']] = tactic;
}
Expand Down

0 comments on commit 93b8e85

Please sign in to comment.