app: send POST body on restart
This commit is contained in:
@@ -377,7 +377,7 @@ async function onRestartApp() {
|
||||
|
||||
let error, result;
|
||||
try {
|
||||
result = await fetcher.post(`${API_ORIGIN}/api/v1/apps/${resourceId.value}/restart`, null, { access_token: accessToken });
|
||||
result = await fetcher.post(`${API_ORIGIN}/api/v1/apps/${resourceId.value}/restart`, {}, { access_token: accessToken });
|
||||
} catch (e) {
|
||||
error = e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user