From f1c84e2d63263b06a887d870362f63e22611f700 Mon Sep 17 00:00:00 2001 From: saparatayev Date: Wed, 1 Jun 2022 09:19:22 +0500 Subject: [PATCH] api: zip - leg No. in me get - post request --- plugins/vdomah/jwtauth/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vdomah/jwtauth/routes.php b/plugins/vdomah/jwtauth/routes.php index bcb7691f1..945e4e8cf 100644 --- a/plugins/vdomah/jwtauth/routes.php +++ b/plugins/vdomah/jwtauth/routes.php @@ -240,7 +240,7 @@ Route::group(['prefix' => 'api'], function() { Route::get('me', function() { $me = \JWTAuth::parseToken()->authenticate() - ->only(['name','surname','email','username','is_activated','phone','company','street_addr','city','mobile','user_balance','email_verified','phone_verified']); + ->only(['name','surname','email','username','is_activated','phone','company','street_addr','city','mobile','user_balance','email_verified','phone_verified', 'zip']); return Response::json(compact('me'));