api user show add locale field..
This commit is contained in:
parent
64575107f3
commit
faca470caa
@ -23,6 +23,7 @@ class User extends TransformerAbstract
|
|||||||
'id' => $model->id,
|
'id' => $model->id,
|
||||||
'name' => $model->name,
|
'name' => $model->name,
|
||||||
'email' => $model->email,
|
'email' => $model->email,
|
||||||
|
'locale' => $model->locale,
|
||||||
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
|
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
|
||||||
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',
|
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user