Skip to content

Commit

Permalink
fixed bug in parseAuthSchProfile func
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed Aug 14, 2024
1 parent f0d42fb commit 01561dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kir-dev/passport-authsch",
"version": "2.0.2",
"version": "2.0.3",
"description": "Passport.js Strategy for AuthSCH",
"author": "Sámuel Fekete <[email protected]>",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const parseAuthSchProfile = (profileData: RawAuthSchProfile): AuthSchProf
groupName: e.groupName,
entrantType: e.entrantType,
})),
address: profileData.address.formatted,
address: profileData.address?.formatted,
phone: profileData.phone_number,
phoneVerified: profileData.phone_number_verified,
});

0 comments on commit 01561dc

Please sign in to comment.