mirror of
https://github.com/flarum/core.git
synced 2025-08-17 13:54:18 +02:00
Rename post.hideTime
This commit is contained in:
@@ -61,7 +61,7 @@ class PostSerializer extends BasicPostSerializer
|
||||
|
||||
if ($post->hidden_at) {
|
||||
$attributes['isHidden'] = true;
|
||||
$attributes['hideTime'] = $this->formatDate($post->hidden_at);
|
||||
$attributes['hiddenAt'] = $this->formatDate($post->hidden_at);
|
||||
}
|
||||
|
||||
$attributes += [
|
||||
|
Reference in New Issue
Block a user