Skip to content

Commit 72591d1

Browse files
authored
Merge pull request sigmavirus24#743 from omgjlk/fix-created_at-742
Use correct attribute for pull request review ts
2 parents 9f258ec + 4339db0 commit 72591d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

github3/pulls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ def _update_attributes(self, preview):
478478
self.state = self._get_attribute(preview, 'state')
479479

480480
#: datetime object representing when the event was created.
481-
self.created_at = self._strptime_attribute(preview, 'created_at')
481+
self.submitted_at = self._strptime_attribute(preview, 'submitted_at')
482482

483483
#: Body text of the review
484484
self.body = self._get_attribute(preview, 'body')

0 commit comments

Comments
 (0)