diff --git a/app/classes/api_controller.php b/app/classes/api_controller.php index 81075ce..43fd7c7 100644 --- a/app/classes/api_controller.php +++ b/app/classes/api_controller.php @@ -1,8 +1,8 @@ - * @link https://TheTempusProject.com/Core + * @link https://TheTempusProject.com * @license https://opensource.org/licenses/MIT [MIT LICENSE] */ namespace TheTempusProject\Classes; diff --git a/app/controllers/api/users.php b/app/controllers/api/users.php index 9b2ab91..44168f9 100644 --- a/app/controllers/api/users.php +++ b/app/controllers/api/users.php @@ -30,7 +30,7 @@ class Users extends ApiController { $response = 'No user found.'; } else { $responseType = 'data'; - $response = $user; + $response = $user->ID; } Views::view( 'api.response', ['response' => json_encode( [ $responseType => $response ], true )]); } diff --git a/app/plugins/notifications/models/notification.php b/app/plugins/notifications/models/notification.php index 3537644..4313b79 100644 --- a/app/plugins/notifications/models/notification.php +++ b/app/plugins/notifications/models/notification.php @@ -1,6 +1,6 @@ -
-
-
- - here -
-
-