UI: 'kill_time' -> 'terminate_time'

This commit is contained in:
Shreya Malviya 2022-09-23 18:06:15 +05:30 committed by Mike Salvatore
parent 14c615e238
commit fbfebc6167
1 changed files with 1 additions and 1 deletions

View File

@ -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})});