This repository was archived by the owner on Aug 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 11
11
"require" : {
12
12
"php" : " ^7.0" ,
13
13
"illuminate/support" : " ^5.4" ,
14
- "google/apiclient" : " ^1.1 " ,
14
+ "google/apiclient" : " ^2.2 " ,
15
15
"nesbot/carbon" : " ^1.22"
16
16
},
17
17
"require-dev" : {
Original file line number Diff line number Diff line change 2
2
3
3
return [
4
4
5
- /**
6
- * Application Name.
7
- */
8
- 'application_name ' => env ('APP_NAME ' , 'Your Application ' ),
9
-
10
5
/**
11
6
* Client ID.
12
7
*/
Original file line number Diff line number Diff line change @@ -285,13 +285,11 @@ private function setup(Google_Client $client)
285
285
throw new Exception ('A Google "client_id" and "client_secret" must be configured. ' );
286
286
}
287
287
288
- $ client ->setApplicationName ($ this ->app ->config ->get ('youtube.application_name ' ));
289
288
$ client ->setClientId ($ this ->app ->config ->get ('youtube.client_id ' ));
290
289
$ client ->setClientSecret ($ this ->app ->config ->get ('youtube.client_secret ' ));
291
290
$ client ->setScopes ($ this ->app ->config ->get ('youtube.scopes ' ));
292
291
$ client ->setAccessType ('offline ' );
293
292
$ client ->setApprovalPrompt ('force ' );
294
- $ client ->setClassConfig ('Google_Http_Request ' , 'disable_gzip ' , true );
295
293
$ client ->setRedirectUri (url (
296
294
$ this ->app ->config ->get ('youtube.routes.prefix ' )
297
295
. '/ ' .
You can’t perform that action at this time.
0 commit comments