From fbfebc6167381c3aa955bbf922feff7a34bd9311 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Fri, 23 Sep 2022 18:06:15 +0530 Subject: [PATCH] UI: 'kill_time' -> 'terminate_time' --- monkey/monkey_island/cc/ui/src/components/pages/MapPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js b/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js index 11a67456f..d3bc5ad2f 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js @@ -89,7 +89,7 @@ class MapPageComponent extends AuthComponent { method: 'POST', headers: {'Content-Type': 'application/json'}, // Python uses floating point seconds, Date.now uses milliseconds, so convert - body: JSON.stringify({kill_time: Date.now() / 1000.0}) + body: JSON.stringify({terminate_time: Date.now() / 1000.0}) }) .then(res => res.json()) .then(() => {this.setState({killPressed: true})});