Skip to content

Commit

Permalink
Merge pull request #26 from eu-digital-green-certificates/fix/token
Browse files Browse the repository at this point in the history
fix first and last name
  • Loading branch information
epicsoft-llc authored Sep 27, 2021
2 parents 3e32b0a + b08ff23 commit 8a95eb6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public AccessTokenPayload build(
final SubjectResponse subjectResponse,
final OccurrenceInfoResponse occurrenceInfo) {
final AccessTokenConditions accessTokenConditions = new AccessTokenConditions();
accessTokenConditions.setLang(occurrenceInfo.getLanguage());
accessTokenConditions.setFnt(subjectResponse.getForename());
accessTokenConditions.setGnt(subjectResponse.getLastname());
accessTokenConditions.setLang(occurrenceInfo.getLanguage());
accessTokenConditions.setGnt(subjectResponse.getForename());
accessTokenConditions.setFnt(subjectResponse.getLastname());
accessTokenConditions.setCoa(occurrenceInfo.getCountryOfArrival());
accessTokenConditions.setCod(occurrenceInfo.getCountryOfDeparture());
accessTokenConditions.setRoa(occurrenceInfo.getRegionOfArrival());
Expand Down

0 comments on commit 8a95eb6

Please sign in to comment.