initialize planets to be empty on login or refresh

This commit is contained in:
Calli
2024-04-28 09:59:09 +03:00
parent bb5ef07042
commit 0a0f41cc25
3 changed files with 10 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
account: "-",
comment: "",
system: "",
planets: [],
};
res.json(token);
} else {