From fb450d74520e095e89e8188170ea6c495cc77a09 Mon Sep 17 00:00:00 2001 From: saparatayev Date: Tue, 25 Jan 2022 15:32:44 +0500 Subject: [PATCH] user info with the balance --- plugins/vdomah/jwtauth/routes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/vdomah/jwtauth/routes.php b/plugins/vdomah/jwtauth/routes.php index 9123287a5..059f8d97b 100644 --- a/plugins/vdomah/jwtauth/routes.php +++ b/plugins/vdomah/jwtauth/routes.php @@ -46,6 +46,7 @@ Route::group(['prefix' => 'api'], function() { 'username' => $userModel->username, 'email' => $userModel->email, 'is_activated' => $userModel->is_activated, + 'user_balance' => $userModel->user_balance ]; } // if no errors are encountered we can return a JWT