Skip to content

Commit

Permalink
Merge pull request #820 from RakhithaRR/audit-fix
Browse files Browse the repository at this point in the history
Fix API audit security page crashing
  • Loading branch information
RakhithaRR authored Oct 22, 2024
2 parents e9d7d12 + 62083a1 commit ac758f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,9 @@ class APISecurityAudit extends Component {
*/
render() {
const {
report, overallScore, numErrors, externalApiId, loading, apiDefinition, intl
report, overallScore, numErrors, externalApiId, loading, apiDefinition
} = this.state;
const { intl } = this.props;

const reportObject = JSON.parse(report);
const linkToDetailedReport = 'https://platform.42crunch.com/apis/' + externalApiId + '/security-audit-report';
Expand Down

0 comments on commit ac758f1

Please sign in to comment.