Skip to content

Commit 338302c

Browse files
authored
fix: create events with correct end datetime
1 parent 8705eb9 commit 338302c

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)