diff options
Diffstat (limited to 'src/components/ScanView.js')
-rw-r--r-- | src/components/ScanView.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/ScanView.js b/src/components/ScanView.js index 9fe57d7..a289cf7 100644 --- a/src/components/ScanView.js +++ b/src/components/ScanView.js @@ -25,7 +25,6 @@ class ScanView extends React.Component { } } ) - // TODO: Look at `status` or return code or both? .then(resp => { if (resp.status !== 200) throw new Error( @@ -34,10 +33,6 @@ class ScanView extends React.Component { return resp.json(); }) .then(json => { - if (json.status != "success") - throw new Error( - `Unexpected status from soc_collector: ${json.status}` - ); this.setState({ object: { ...json.docs, |