app: send POST body on restart
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user