From 71ad7d5d43bfad7525d5676ece5af4ca26755cc1 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 22 Jun 2023 01:12:53 -0600 Subject: [PATCH] Update AdminUser resource --- app/Http/Resources/AdminUser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Resources/AdminUser.php b/app/Http/Resources/AdminUser.php index bfbc9e42..75bac9f6 100644 --- a/app/Http/Resources/AdminUser.php +++ b/app/Http/Resources/AdminUser.php @@ -23,9 +23,11 @@ class AdminUser extends JsonResource 'name' => $this->name, 'username' => $this->username, 'is_admin' => (bool) $this->is_admin, + 'email' => $this->email, 'email_verified_at' => $this->email_verified_at, 'two_factor_enabled' => (bool) $this->{'2fa_enabled'}, 'register_source' => $this->register_source, + 'app_register_ip' => $this->app_register_ip, 'last_active_at' => $this->last_active_at, 'created_at' => $this->created_at, ];