#47 Inserts null for updated_at when the user is creating a comment.

This commit is contained in:
Abijeet 2017-05-25 08:02:49 +05:30
parent 0ff5aad9c0
commit 34802ff8a6

View File

@ -26,6 +26,7 @@ class CommentRepo {
// new comment
$comment->page_id = $page->id;
$comment->created_by = $userId;
$comment->updated_at = null;
$comment->save();
return $comment;
}