mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 09:53:21 +02:00
Fix all lib/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports.decode = function(payload, secret) {
|
||||
var decoded = jws.decode(payload, {
|
||||
json: true
|
||||
})
|
||||
, exp = decoded.header.exp
|
||||
var exp = decoded.header.exp
|
||||
|
||||
if (exp && exp <= Date.now()) {
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user