· 6 years ago · Jun 30, 2019, 01:10 AM
1const data = jwt.verify(id, secretKey); 2 cb(null, {userId: data.id});