Skip to content

Instantly share code, notes, and snippets.

@hmpmarketing
Created October 4, 2018 10:35
Show Gist options
  • Save hmpmarketing/75b566c8a8a5c15de90525fa23f4ee07 to your computer and use it in GitHub Desktop.
Save hmpmarketing/75b566c8a8a5c15de90525fa23f4ee07 to your computer and use it in GitHub Desktop.
redisKeyExist = redis.exists(`alock:${req.query.service_id}:${req.query.account_id}`, function(err, exist) {
return exist
})
console.log(redisKeyExist)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment