This commit is contained in:
Martin Donnelly 2019-02-20 14:51:51 +00:00
parent b3a6fe0256
commit 0a796308e2

View File

@ -35,10 +35,11 @@ app.get('/v2/get_device', (req, res) => {
console.log('query', req.query);
console.log('\n\n\n');
const obj = {};
obj.rid = req.headers.get('x-rid');
obj.did = req.headers.get('x-ya-did');
obj.rid = req.headers['x-rid'];
obj.did = req.headers['x-ya-did'];
obj.yaDid = obj.did;
obj.crumb = 'LvnvxRvdbc';