Skip to content

Commit

Permalink
fixed page feedback date parsing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-inamdar committed Dec 10, 2018
1 parent 09f31f9 commit 2404967
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Resources/PageFeedbackResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public function toArray($request)
'name' => $this->name,
'email' => $this->email,
'phone' => $this->phone,
'consented_at' => $this->consented_at->format(Carbon::ISO8601),
'created_at' => $this->created_at->format(Carbon::ISO8601),
'updated_at' => $this->updated_at->format(Carbon::ISO8601),
'consented_at' => optional($this->consented_at)->format(Carbon::ISO8601),
'created_at' => optional($this->created_at)->format(Carbon::ISO8601),
'updated_at' => optional($this->updated_at)->format(Carbon::ISO8601),
];
}
}

0 comments on commit 2404967

Please sign in to comment.