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 () => { 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;