mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Change username -> user
This commit is contained in:
parent
afbd8df072
commit
fde4e553df
@ -64,7 +64,7 @@ class TaskTransformer extends EntityTransformer
|
|||||||
return array_merge($this->getDefaults($task), [
|
return array_merge($this->getDefaults($task), [
|
||||||
'id' => (int) $task->public_id,
|
'id' => (int) $task->public_id,
|
||||||
'user_id' => (int) $task->user->public_id,
|
'user_id' => (int) $task->user->public_id,
|
||||||
'username' => $task->user->getDisplayName(),
|
'user' => $task->user->getDisplayName(),
|
||||||
'description' => $task->description ?: '',
|
'description' => $task->description ?: '',
|
||||||
'duration' => $task->getDuration() ?: 0,
|
'duration' => $task->getDuration() ?: 0,
|
||||||
'updated_at' => (int) $this->getTimestamp($task->updated_at),
|
'updated_at' => (int) $this->getTimestamp($task->updated_at),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user