Skip to content
New issue

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

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

Already on GitHub? # to your account

Signing up with invite code -> follow the person who gave the invite code #356

Closed
yoavartzi opened this issue Nov 9, 2024 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@yoavartzi
Copy link
Member

When a person signs up with an invite code, he should automatically follow the owner of the invite code. For example, if person Y received an invite code from person X, once Y signs ups, they should automatically be set to follow X.

Thanks

@yoavartzi yoavartzi added the enhancement New feature or request label Nov 9, 2024
joannechen1223 added a commit that referenced this issue Nov 18, 2024
## Description

Follow the person who invites the user when creating an account

## Related Issue

- #356

## Notes

<!-- Other thing to say -->
N/A

## Test

1. Run local server
2. Create a user by hitting `POST /users/me`
3. Check if there is a following record that followerId = userId and
followingId = inviterId

## Screenshots (if appropriate):

TBA

## TODO

- [x] Clear `console.log` or `console.error` for debug usage
- [ ] Update the documentation `recnet-docs` if needed
joannechen1223 added a commit that referenced this issue Nov 19, 2024
## RecNet auto-release action
This is an auto-generated PR by recnet-release-action 🤖
Please make sure to test your changes in staging before merging. 
## Related Issues
- #261
- #64
- #356
- #355
## Related PRs
- #359
- #357
- #358
## Staging links
recnet-web:
[https://vercel.live/link/recnet-git-dev-recnet-542617e7.vercel.app](https://vercel.live/link/recnet-git-dev-recnet-542617e7.vercel.app)
recnet-api:
[https://dev-api.recnet.io/api](https://dev-api.recnet.io/api)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants