1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 04:00:40 +02:00

Remove post id from serializer attributes (#1775)

This commit is contained in:
Clark Winkelmann
2019-04-19 21:37:14 +02:00
committed by Franz Liedke
parent bf2c5a5564
commit ecc3b5e227

View File

@@ -37,7 +37,6 @@ class BasicPostSerializer extends AbstractSerializer
}
$attributes = [
'id' => (int) $post->id,
'number' => (int) $post->number,
'createdAt' => $this->formatDate($post->created_at),
'contentType' => $post->type