diff --git a/package.json b/package.json index 3afc659d3..2dac862ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "staart-manager", - "version": "1.0.63", + "version": "1.0.64", "main": "index.js", "repository": "git@github.com:AnandChowdhary/staart.git", "author": "Anand Chowdhary ", diff --git a/setup/internal/staart-version b/setup/internal/staart-version index 96462aad5..ef3b2e2ce 100644 --- a/setup/internal/staart-version +++ b/setup/internal/staart-version @@ -1 +1 @@ -1.0.63 \ No newline at end of file +1.0.64 \ No newline at end of file diff --git a/src/helpers/jwt.ts b/src/helpers/jwt.ts index 07a3ab10c..a924e7d82 100644 --- a/src/helpers/jwt.ts +++ b/src/helpers/jwt.ts @@ -140,7 +140,7 @@ export const getLoginResponse = async ( { ...user, location: location - ? location.city || location.region_name || location.country + ? location.city || location.region_name || location.country_code : i18n.en.emails["unknown-location"], token: await approveLocationToken(user.id, locals.ipAddress) }