From d7d8fc4b5ed6be94150280de232e6162f8104665 Mon Sep 17 00:00:00 2001 From: Joey Kimsey Date: Mon, 2 Dec 2024 18:04:44 -0500 Subject: [PATCH] Carousel fix + fiixes --- app/classes/api_controller.php | 4 ++-- app/classes/config.php | 4 ++-- app/controllers/api/users.php | 2 +- app/plugins/notifications/models/notification.php | 2 +- app/views/profile.html | 12 ------------ 5 files changed, 6 insertions(+), 18 deletions(-) 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 -
-
-