Skip to content

Commit

Permalink
Make sure incident id param is int
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarvarela committed Apr 29, 2024
1 parent 928e17f commit fbb0748
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const ToolPage = (props) => {
} = props;

const { data, loading } = useQuery(FIND_CLASSIFICATION, {
variables: { query: { incidents_in: { incident_id }, namespace_in: allNamespaces } },
variables: {
query: { incidents_in: { incident_id: parseInt(incident_id) }, namespace_in: allNamespaces },
},
});

const [tableData, setTableData] = useState([]);
Expand Down

0 comments on commit fbb0748

Please sign in to comment.