Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
🐛 Fix TS2339
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Jul 15, 2019
1 parent b62d67f commit 0e5be92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "staart-manager",
"version": "1.0.63",
"version": "1.0.64",
"main": "index.js",
"repository": "[email protected]:AnandChowdhary/staart.git",
"author": "Anand Chowdhary <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion setup/internal/staart-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.63
1.0.64
2 changes: 1 addition & 1 deletion src/helpers/jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 0e5be92

Please sign in to comment.