mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-26 16:52:25 +00:00
Inline encoding of previously embedded fields
To avoid impacting the client's code with implementation details.
This commit is contained in:
@@ -169,7 +169,7 @@ export function getApiDetails() {
|
||||
export function doControlRequest(nodeId, control) {
|
||||
clearTimeout(controlErrorTimer);
|
||||
const url = `api/control/${encodeURIComponent(control.probeId)}/`
|
||||
+ `${encodeURIComponent(control.nodeId)}/${control.control.id}`;
|
||||
+ `${encodeURIComponent(control.nodeId)}/${control.id}`;
|
||||
reqwest({
|
||||
method: 'POST',
|
||||
url: url,
|
||||
|
||||
Reference in New Issue
Block a user