UI: 'kill_time' -> 'terminate_time'
This commit is contained in:
parent
14c615e238
commit
fbfebc6167
|
@ -89,7 +89,7 @@ class MapPageComponent extends AuthComponent {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {'Content-Type': 'application/json'},
|
headers: {'Content-Type': 'application/json'},
|
||||||
// Python uses floating point seconds, Date.now uses milliseconds, so convert
|
// 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(res => res.json())
|
||||||
.then(() => {this.setState({killPressed: true})});
|
.then(() => {this.setState({killPressed: true})});
|
||||||
|
|
Loading…
Reference in New Issue