Comments (2)
We need two calls for this.
One that fetches all forums
One that fetches a forum and all it's children
For the second call we'll need to query all forums parentList
and return any that contain the initial requested forum. This way we know which forums contain which children.
let forums = await this.forumRep.findAll({ parentList: { in: [forumId] });
from collaction_api.
This is all covered in #133
Closing this as a duplicate
from collaction_api.
Related Issues (20)
- [Board] Add authed endpoint to create a Thread
- [Unit Tests] Increase Coverage for Crowdactions
- [Unit Tests] Add unit tests for SchedulerService
- [Unit Tests] Add unit tests for SendFormCommand
- [Unit Tests] Add unit tests for AuthService
- [Refactor] Commimentoptions and Crowdactions need to be updated
- Add Service for Contact HOT 3
- Show user at top of Participant List after participating in CrowdAction HOT 3
- Improvement in error response /v1/crowdactions/slug/{slug} and /v1/crowdactions/{id}
- Add support to filter Crowdactions by it's values and also don't return crowdactions that have ENDED
- Change Commitments Icon from enum to string HOT 1
- New fields for Badges HOT 2
- Make diamond threshold customizable on badges HOT 2
- Sort Crowdaction response based on date
- Create Endpoint to Fetch (paginated) Commitments
- [FEATURE] Add Phone Number to Profile
- [BUG] Requiring `_id` for Commitment when creating CrowdAction
- [Feature] Add Forum Controller HOT 2
- [Bug] Scheduler onTick breaks production HOT 2
- [Feature] Refactor/migrate S3 Module to Blob Storage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collaction_api.