correct bugs AG
This commit is contained in:
@@ -64,6 +64,10 @@ export const api = {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ port, antenna }),
|
||||
}),
|
||||
deselectAntenna: (port, antenna) => request('/antenna/deselect', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ port, antenna }),
|
||||
}),
|
||||
reboot: () => request('/antenna/reboot', { method: 'POST' }),
|
||||
},
|
||||
|
||||
@@ -101,5 +105,9 @@ export const api = {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ enabled, threshold }),
|
||||
}),
|
||||
setDirection: (direction) => request('/ultrabeam/direction', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ direction }),
|
||||
}),
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user