1
0
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:
Toby Zerner
2018-08-24 21:27:50 +09:30
parent 07c08ca798
commit dd65801d57
3 changed files with 5 additions and 5 deletions

View File

@@ -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 += [