aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/panels/PcapsPane.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/panels/PcapsPane.js')
-rw-r--r--frontend/src/components/panels/PcapsPane.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/components/panels/PcapsPane.js b/frontend/src/components/panels/PcapsPane.js
index ddc5948..b7d5ce9 100644
--- a/frontend/src/components/panels/PcapsPane.js
+++ b/frontend/src/components/panels/PcapsPane.js
@@ -98,9 +98,9 @@ class PcapsPane extends Component {
}
backend.post("/api/pcap/file", {
- file: this.state.fileValue,
- flush_all: this.state.processFlushAll,
- delete_original_file: this.state.deleteOriginalFile
+ "file": this.state.fileValue,
+ "flush_all": this.state.processFlushAll,
+ "delete_original_file": this.state.deleteOriginalFile
}).then((res) => {
this.setState({
processStatusCode: res.status,