first work on to do orders
This commit is contained in:
@@ -21,7 +21,7 @@ class ToDo extends JsonResource
|
||||
'attributes' => [
|
||||
'data' => [
|
||||
'name' => $this->name,
|
||||
'order' => $this->order,
|
||||
'order' => (int) $this->order,
|
||||
'checked_at' => optional($this->checked_at)->diffForHumans(),
|
||||
'last_updated' => $this->updated_at->diffForHumans(),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user