✨ Fix syntax issue in asynchronous function definition for Gamemaster processing
This commit is contained in:
@@ -266,14 +266,14 @@ function processGamemaster() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
async () => {
|
async () => {
|
||||||
const result = await apiClient.post('/api/gamemaster/process', {});
|
const result = await apiClient.post('/api/gamemaster/process', {});
|
||||||
// Reload server status after save
|
// Reload server status after save
|
||||||
await loadServerStatus(async () => {
|
await loadServerStatus(async () => {
|
||||||
const response = await apiClient.get('/api/gamemaster/status');
|
const response = await apiClient.get('/api/gamemaster/status');
|
||||||
return response;
|
return response;
|
||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
};
|
||||||
async function saveToServer() {
|
async function saveToServer() {
|
||||||
if (!processedData.value) return;
|
if (!processedData.value) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user