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
+1 -1
View File
@@ -234,7 +234,7 @@ function create() {
async restart(id) {
let result;
try {
result = await fetcher.post(`${API_ORIGIN}/api/v1/apps/${id}/restart`, null, { access_token: accessToken });
result = await fetcher.post(`${API_ORIGIN}/api/v1/apps/${id}/restart`, {}, { access_token: accessToken });
} catch (e) {
return [e];
}