Skip to content

Commit

Permalink
Update CippApiResults.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Feb 11, 2025
1 parent 2649a8d commit 7895a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CippComponents/CippApiResults.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const extractAllResults = (data) => {

const getSeverity = (text) => {
if (typeof text !== "string") return "success";
return /error|failed|exception|not found/i.test(text) ? "error" : "success";
return /error|failed|exception|not found|invalid_grant/i.test(text) ? "error" : "success";
};

const processResultItem = (item) => {
Expand Down

0 comments on commit 7895a4d

Please sign in to comment.