Skip to content

Commit

Permalink
Remove post id from serializer attributes (#1775)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkwinkelmann authored and franzliedke committed Apr 19, 2019
1 parent bf2c5a5 commit ecc3b5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Api/Serializer/BasicPostSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ protected function getDefaultAttributes($post)
}

$attributes = [
'id' => (int) $post->id,
'number' => (int) $post->number,
'createdAt' => $this->formatDate($post->created_at),
'contentType' => $post->type
Expand Down

0 comments on commit ecc3b5e

Please sign in to comment.