Fix syntax issue in asynchronous function definition for Gamemaster processing

This commit is contained in:
2026-01-29 04:30:18 +00:00
parent 87a7f28cf8
commit bb05c7e3e1

View File

@@ -266,14 +266,14 @@ function processGamemaster() {
}
}
async () => {
const result = await apiClient.post('/api/gamemaster/process', {});
// Reload server status after save
await loadServerStatus(async () => {
const response = await apiClient.get('/api/gamemaster/status');
return response;
});
return result;
}
const result = await apiClient.post('/api/gamemaster/process', {});
// Reload server status after save
await loadServerStatus(async () => {
const response = await apiClient.get('/api/gamemaster/status');
return response;
});
return result;
};
async function saveToServer() {
if (!processedData.value) return;