add duration
This commit is contained in:
1 parent
335fc8b12b
commit
f27ffc1ce8
19 files changed
+248
-48
No files matched your search
@@ -18,7 +18,7 @@ class TimeTrackerResource extends JsonResource
|
||||
'id' => $this->id,
|
||||
'start_at' => $this->start_at->format('Y-m-d H:i:s'),
|
||||
'end_at' => $this->end_at?->format('Y-m-d H:i:s'),
|
||||
'to_do' => new ToDoResource($this->whenLoaded('toDo'))
|
||||
'to_do' => new ToDoResource($this->whenLoaded('toDo')),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user