This commit is contained in:
AntoninoP 2024-07-09 14:05:32 +02:00
parent c8f787c362
commit 52cf43d3c4

View File

@ -42,7 +42,7 @@ const DashboardPage = ({ user }) => {
const handleCreateServer = async (serverName, serverVersion) => { const handleCreateServer = async (serverName, serverVersion) => {
try { try {
if (!serverName || !serverVersion) return; if (!serverName || !serverVersion) return;
await serviiApi.serverCreate(serverName, serverVersion, "spiggot"); await serviiApi.serverCreate(serverName, serverVersion, "spigot");
await loadServers(); await loadServers();
setShowCreateServer(false); setShowCreateServer(false);
} catch (error) { } catch (error) {