api user show add locale field..

This commit is contained in:
Cüneyt Şentürk 2021-05-27 11:27:30 +03:00
parent 64575107f3
commit faca470caa

View File

@ -23,6 +23,7 @@ class User extends TransformerAbstract
'id' => $model->id,
'name' => $model->name,
'email' => $model->email,
'locale' => $model->locale,
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',
];