Skip to content

Commit 8d62ca3

Browse files
authored
Merge pull request #57 from therealpecus/hotfix/calendar-end-typo
fix: create events with correct end datetime
2 parents 8705eb9 + 338302c commit 8d62ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/graph-tutorial/src/NewEvent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class NewEvent extends React.Component<AuthComponentProps, NewEventState> {
8787
timeZone: this.props.user.timeZone
8888
},
8989
end: {
90-
dateTime: this.state.start,
90+
dateTime: this.state.end,
9191
timeZone: this.props.user.timeZone
9292
},
9393
// Only add if a body was given

0 commit comments

Comments
 (0)