We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e87091 commit 51d1b15Copy full SHA for 51d1b15
src/reachy_mini/daemon/app/dashboard/static/js/daemon.js
@@ -5,7 +5,7 @@ const daemon = {
5
currentStatus: {},
6
7
start: async (wakeUp) => {
8
- fetch(`/api/daemon/start?wake_up=${wakeUp}`, {
+ await fetch(`/api/daemon/start?wake_up=${wakeUp}`, {
9
method: 'POST',
10
})
11
.then((response) => {
@@ -23,7 +23,7 @@ const daemon = {
23
},
24
25
stop: async (gotoSleep) => {
26
- fetch(`/api/daemon/stop?goto_sleep=${gotoSleep}`, {
+ await fetch(`/api/daemon/stop?goto_sleep=${gotoSleep}`, {
27
28
29
0 commit comments