We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-[] Follow model
"followerId": <id of user following>, "followingId": <id of user being followed timestamps: true
-[] Follow user requests
Method: POST URL: /follow
{ "userId": <id of user to be followed> } followerId-g access token-s авч хадгална
Response:
success { "message": "followed", }
If there is no user found with id:
statusCode: 404 { "message": "user not found }
Хэрэглэгч бие биеэ дагасан тохиолдолд
statusCode: 200 { "message": "followed", }
The text was updated successfully, but these errors were encountered:
2 user-ийн ID талбарыг mongoose objectId ашиглана.
https://mongoosejs.com/docs/populate.html жишээ харах.
Sorry, something went wrong.
billduluu
No branches or pull requests
-[] Follow model
-[] Follow user requests
Method: POST
URL: /follow
Response:
If there is no user found with id:
Хэрэглэгч бие биеэ дагасан тохиолдолд
The text was updated successfully, but these errors were encountered: