app: send POST body on restart

This commit is contained in:
Girish Ramakrishnan
2025-06-11 11:43:58 +02:00
parent fe9585500d
commit 30b6d1cd1d
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}