Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ab068e52
authored
2016-08-18 10:18:47 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Revert "commit"
This reverts commit
101f024d
.
1 parent
101f024d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
app/Http/Controllers/GoogledriveuploadpdfController.php
app/Http/Controllers/GoogledriveuploadpdfController.php
View file @
ab068e5
...
...
@@ -39,9 +39,9 @@ class GoogledriveuploadpdfController extends Controller
$client
=
new
\Google_Client
();
$client
->
setScopes
(
array
(
'https://www.googleapis.com/auth/drive.file'
));
$client
->
setClientId
(
$user
->
google_client_id
);
$client
->
setClientSecret
(
$user
->
google_client_secret
);
$client
->
setRedirectUri
(
$user
->
redirect_uri
);
$client
->
setClientId
(
$user
[
0
]
->
google_client_id
);
$client
->
setClientSecret
(
$user
[
0
]
->
google_client_secret
);
$client
->
setRedirectUri
(
$user
[
0
]
->
redirect_uri
);
$client
->
setAccessType
(
'offline'
);
...
...
Please
register
or
sign in
to post a comment