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
0d55116a
authored
2016-07-20 16:45:44 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
s
1 parent
d78af389
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
app/Http/Controllers/AuthenticateController.php
app/Http/Controllers/GoogledriveuploadpdfController.php
app/Http/Controllers/AuthenticateController.php
View file @
0d55116
...
...
@@ -33,7 +33,7 @@ class AuthenticateController extends Controller
$_SESSION
[
'user_id'
]
=
$user
[
0
]
->
id
;
error_log
(
$_SESSION
[
'user_id'
]);
return
response
()
->
json
(
compact
(
'token'
));
...
...
app/Http/Controllers/GoogledriveuploadpdfController.php
View file @
0d55116
...
...
@@ -31,9 +31,9 @@ class GoogledriveuploadpdfController extends Controller
session_start
();
$pdffile
=
new
FileEntryController
();
$pdfFile
=
$pdffile
->
getPDF
(
$folder
,
$filename
);
var_dump
(
$_SESSION
[
'user_id'
]);
$user
=
new
pdfModel
();
$user
=
$user
->
getGoogleUserOath
(
$_SESSION
[
'user_id'
]
)
->
get
();;
$user
=
$user
->
getGoogleUserOath
(
'2'
)
->
get
();;
...
...
Please
register
or
sign in
to post a comment