From 59d3ef4de4d40bebe404f7726bff2acb9435b1cd Mon Sep 17 00:00:00 2001 From: fokosun Date: Sat, 7 Oct 2023 16:49:05 -0400 Subject: [PATCH] bug fix --- app/Http/Controllers/AuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php index 5cf5c73..e154528 100755 --- a/app/Http/Controllers/AuthController.php +++ b/app/Http/Controllers/AuthController.php @@ -205,7 +205,7 @@ public function tikTokHandleCallback(Request $request, TikTokHttpClient $httpCli TikTokUserIsAuthenticated::dispatch(new TikTokUserDto( $user->getKey(), Arr::get($userInfo, 'data.user.open_id'), - Arr::get($userInfo, 'data.access_token'), + Arr::get($decoded, 'data.access_token'), Arr::get($userInfo, 'data.user.is_verified'), Arr::get($userInfo, 'data.user.profile_deep_link'), Arr::get($userInfo, 'data.user.bio_description'),