ede
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -284,7 +284,7 @@ public function isGoogleFolderCreated($cust_id) | ... | @@ -284,7 +284,7 @@ public function isGoogleFolderCreated($cust_id) |
| 284 | 284 | ||
| 285 | $client->setApprovalPrompt('force'); | 285 | $client->setApprovalPrompt('force'); |
| 286 | 286 | ||
| 287 | $code = request()->code; | 287 | $code = request()->has('code'); |
| 288 | $client->authenticate($code); | 288 | $client->authenticate($code); |
| 289 | $_SESSION['token'] = $client->getAccessToken(); | 289 | $_SESSION['token'] = $client->getAccessToken(); |
| 290 | 290 | ... | ... |
-
Please register or sign in to post a comment