logging
This commit is contained in:
parent
b3a6fe0256
commit
0a796308e2
@ -35,10 +35,11 @@ app.get('/v2/get_device', (req, res) => {
|
|||||||
console.log('query', req.query);
|
console.log('query', req.query);
|
||||||
console.log('\n\n\n');
|
console.log('\n\n\n');
|
||||||
|
|
||||||
|
|
||||||
const obj = {};
|
const obj = {};
|
||||||
|
|
||||||
obj.rid = req.headers.get('x-rid');
|
obj.rid = req.headers['x-rid'];
|
||||||
obj.did = req.headers.get('x-ya-did');
|
obj.did = req.headers['x-ya-did'];
|
||||||
|
|
||||||
obj.yaDid = obj.did;
|
obj.yaDid = obj.did;
|
||||||
obj.crumb = 'LvnvxRvdbc';
|
obj.crumb = 'LvnvxRvdbc';
|
||||||
|
Loading…
Reference in New Issue
Block a user