Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

GET : get all the posts belonging to an organisation #30

Open
SohailHaqyar opened this issue Feb 21, 2020 · 0 comments
Open

GET : get all the posts belonging to an organisation #30

SohailHaqyar opened this issue Feb 21, 2020 · 0 comments
Assignees

Comments

@SohailHaqyar
Copy link
Contributor

  • You have to be authenticated :
    • Import passport middle ware.
    • You add it as the second argument to the route.
  • You query the database using the id of the author.
  • You send back the posts related to the organisation.
@SohailHaqyar SohailHaqyar self-assigned this Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant