mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
fixed more attributes to match beta 8
This commit is contained in:
@@ -57,8 +57,8 @@ class DiscussionSerializer extends BasicDiscussionSerializer
|
||||
|
||||
if ($state = $discussion->state) {
|
||||
$attributes += [
|
||||
'readTime' => $this->formatDate($state->read_time),
|
||||
'readNumber' => (int) $state->read_number
|
||||
'readTime' => $this->formatDate($state->last_read_at),
|
||||
'readNumber' => (int) $state->last_read_post_number
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user