Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

Commit

Permalink
Update StrikeRepository.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie authored Apr 9, 2017
1 parent aaa3b85 commit f817e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository/StrikeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function serveStrike(Post $post, User $user, $actorId, $reason)
{
$strike = new Strike();
$strike->user_id = $user->id;
$strike->post = $post->discussion_id.'/'.$post->number;
$strike->post_id = $post->discussion_id.'/'.$post->number;
$strike->actor_id = $actorId;
$strike->post_content = $post->content;
$strike->reason = $reason;
Expand Down

0 comments on commit f817e72

Please sign in to comment.