user: cleanup
This commit is contained in:
parent
7f669828c6
commit
926c8563d0
5 changed files with 44 additions and 53 deletions
|
@ -25,7 +25,7 @@ class UserTransformer extends Transformer
|
|||
'uuid' => $model->uuid,
|
||||
'username' => $model->username,
|
||||
'email' => $model->email,
|
||||
'image' => $model->avatarURL(),
|
||||
'image' => $model->avatar_url,
|
||||
'2fa_enabled' => $model->use_totp,
|
||||
'created_at' => self::formatTimestamp($model->created_at),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue