fix: prevent multiple user/me calls for new users #23
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#23
Loading…
Reference in a new issue
No description provided.
Delete branch "user-me"
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?
This should work the exact same way as before, but with one less
user/me
call for returning users. If we already have the user, we can just return that instead of fetching it again.Not explicitly approving, but you can merge, although I'm not fond of the new logic.
Can't you just pass user or false?
User should never be false, if it's false then you know it failed.
Ah that's a good point and much cleaner. I will update.