Skip to content

Commit

Permalink
fix: digidlevel should be string not number
Browse files Browse the repository at this point in the history
  • Loading branch information
marnixdessing committed Mar 20, 2023
1 parent 713f19d commit 275a2c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/code/YiviApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class YiviApi {
cityofbirth: gegevens.Geboorteplaats,
countryofbirth: gegevens.Geboorteland,
bsn: brpData.Persoon.BSN.BSN,
digidlevel: loaToNumber(loa),
digidlevel: `${loaToNumber(loa)}`,
...brpData.Persoon.ageLimits,
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/issue/issueRequestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async function handleLoggedinRequest(session: Session, brpApi: BrpApi, yiviApi:
if (!yiviResponse.error) {
yiviFullSession = Buffer.from(JSON.stringify(yiviResponse), 'utf-8').toString('base64');
} else {
error = 'Er is iets mis gegaan bij het inladen van uw persoonsgegevens in YIVI. Probeer het later opnieuw';
error = 'Er is iets mis gegaan bij het inladen van uw persoonsgegevens in Yivi. Probeer het later opnieuw';
}
}

Expand Down

0 comments on commit 275a2c8

Please sign in to comment.