Skip to content

Commit

Permalink
Merge pull request #40 from treatmesubj/master-1
Browse files Browse the repository at this point in the history
phishTank.in_database fix
  • Loading branch information
Lissy93 authored Aug 26, 2023
2 parents f573faf + 5dc9a82 commit db64e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Results/Threats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const MalwareCard = (props: {data: any, title: string, actionButtons: any }): JS
<Row lbl="Threat Type" val={safeBrowsing?.details?.threatType || cloudmersive.WebsiteThreatType || 'None :)'} />
)}
{ phishTank && !phishTank.error && (
<Row lbl="Phishing Status" val={phishTank.url0 ? '❌ Phishing Identified' : '✅ No Phishing Identified!'} />
<Row lbl="Phishing Status" val={phishTank.url0.in_database ? '❌ Phishing Identified' : '✅ No Phishing Identified!'} />
)}
{ phishTank.url0 && phishTank.url0.phish_detail_page && (
<Row lbl="" val="">
Expand Down

0 comments on commit db64e5a

Please sign in to comment.