feat: update CountryCode on subsequent client logins #270

Merged
Sainan merged 2 commits from store-lang into main 2024-06-06 05:34:27 -07:00
Showing only changes of commit 3e75698207 - Show all commits

View File

@ -68,7 +68,7 @@ const loginController: RequestHandler = async (request, response) => {
account.Nonce = nonce;
}
if (loginRequest.ClientType != "webui") {
account.CountryCode = loginRequest.lang.toUpperCase();
account.CountryCode = loginRequest.lang.toUpperCase();
}
await account.save();