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

@@ -48,6 +48,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
account: accessToken.account,
comment: accessToken.comment,
system: accessToken.system,
planets: [],
};
console.log("Refresh", character.name, character.characterId);