diff --git a/apps/backend/handlers/updateData.ts b/apps/backend/handlers/updateData.ts index a287496..0887d36 100644 --- a/apps/backend/handlers/updateData.ts +++ b/apps/backend/handlers/updateData.ts @@ -25,6 +25,7 @@ export default async function updateData( }); currentServer = newServer; } else { + currentServer.name = server.name; currentServer.heartbeat = Date.now(); currentServer.save(); }