user: cleanup

This commit is contained in:
Matthew Penner 2022-12-15 12:26:34 -07:00
parent 7f669828c6
commit 926c8563d0
No known key found for this signature in database
5 changed files with 44 additions and 53 deletions

View file

@ -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),
];