Skip to content

Commit 9512a33

Browse files
author
Hector Virgen
committed
Fix session_token
1 parent d5e2e79 commit 9512a33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@
156156
req.api = new TaggedApi(url, mergeRecursive({
157157
query: {
158158
application_id: 'user',
159-
format: 'JSON'
159+
format: 'JSON',
160+
session_token: req.cookies && req.cookies.S
160161
},
161162
params: {
162-
api_signature: '',
163-
session_token: req.cookies && req.cookies.S
163+
api_signature: ''
164164
},
165165
cookies: req.headers && req.headers.cookie
166166
}, options || {}), http);

0 commit comments

Comments
 (0)