Skip to content

Commit

Permalink
feat: add event attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentHardouin committed Oct 8, 2024
1 parent 80e8d60 commit 7e40dd1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/infrastructure/PassAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ class PassAdapter {
passTypeIdentifier,
teamIdentifier: this.config.teamIdentifier,
logoText: title,
relevantDate: start,
webServiceURL: this.baseURL,
authenticationToken: token,
maxDistance: 100,
relevantDate: start,
semantics: {
eventStartDate: start.toISOString(),
eventEndDate: new Date(new Date(start).setHours(start.getHours() + 1)).toISOString(),
duration: 3600,
},
},
);

Expand Down

0 comments on commit 7e40dd1

Please sign in to comment.