new referrals #79
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbryinc#79
Loading…
Reference in a new issue
No description provided.
Delete branch "new_referrals"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
provides referral code
setting referrers
claim referee reward
fixes accessToken state
Apart from one concern, everything else looks good.
With this, do we have to explicitly call
/user/me
after authentication in order to retrieve the user? This seems like an extra step that I'd like to avoid. Why can't we obtain both the user and the accessToken?There was a bug where "user" in the reducer was being populated with an accessToken and then overwritten with the "user" object. Here I am, I think, just making it work as the state intends.
We can run the question of whether authenticate should also return the user by @tiger5226 @kauffj @seanyesmunt etc.
I am not sure I understand.
/user/me
does return the user. What API are you using to authenticate?@jessopb why not populate the
user
object and theaccessToken
here?