feat: Fully implements support for cohorts
Uses the discussions settings API to fetch course division configuration and makes the cohort selection dynamic based on if a topic is divided.
This commit is contained in:
@@ -77,6 +77,7 @@ export async function getThread(threadId) {
|
||||
* @param {ThreadType} type The thread's type (either "question" or "discussion")
|
||||
* @param {string} title
|
||||
* @param {string} content
|
||||
* @param {number} cohort
|
||||
* @param {boolean} following Follow the thread after creating
|
||||
* @param {boolean} anonymous Should the thread be anonymous to all users
|
||||
* @param {boolean} anonymousToPeers Should the thread be anonymous to peers
|
||||
|
||||
Reference in New Issue
Block a user