Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO Implement increment and decrement method #2

Closed
neradp opened this issue Aug 16, 2019 · 3 comments
Closed

TODO Implement increment and decrement method #2

neradp opened this issue Aug 16, 2019 · 3 comments

Comments

@neradp
Copy link
Contributor

neradp commented Aug 16, 2019

uncoment:
increment: 'increment', decrement: 'decrement',

and fix:
// key, amount, expires(optional) case 'increment': case 'decrement': return { command: ${method} [expires], query: args => cb => client[method]( args.key.toString(), args.amount.toString(), {'expires': Number(args.expires) || 0}, cb, ), // eslint-disable-line }

After this code changes increment and decrement commands works like a charm

@pd4d10
Copy link
Owner

pd4d10 commented Aug 17, 2019

Thanks! Willing to submit a PR?

@neradp
Copy link
Contributor Author

neradp commented Aug 17, 2019

Ok i do some PRs 👍

pd4d10 pushed a commit that referenced this issue Aug 17, 2019
@pd4d10
Copy link
Owner

pd4d10 commented Aug 17, 2019

Published as v1.0.3. Thanks!

@pd4d10 pd4d10 closed this as completed Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants