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

client.sadd not working inside sendDealIfNotSent function #3

Open
ghost opened this issue Apr 23, 2017 · 0 comments
Open

client.sadd not working inside sendDealIfNotSent function #3

ghost opened this issue Apr 23, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 23, 2017

If you execute the deal-metrics.js file in Chapter 2, you should get user:1,user:3 received all of the deals: deal:1,deal:2 instead of user:1 received all of the deals: deal:1,deal:2 because user:3 is added to deal:1 before you execute showUsersThatReceivedAllDeals(["deal:1", "deal:2"]);. Do you agree with me? If so, do you know how to fix it? If you don't agree, could you tell me why it omits user:3?

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

0 participants