platform/lms-adm-fe release promotion snapshot

This commit is contained in:
2026-08-12 05:51:05 +00:00
parent 8e15589413
commit 7bf76c4265
7 changed files with 88 additions and 11 deletions
+2 -1
View File
@@ -49,8 +49,9 @@ type ChatThreadsPayload = {
data?: unknown[];
};
export async function listInstructorChatThreads(accessToken: string, week?: number): Promise<InstructorChatThread[]> {
export async function listInstructorChatThreads(accessToken: string, courseId: string, week?: number): Promise<InstructorChatThread[]> {
const params = new URLSearchParams();
if (courseId) params.set('courseId', courseId);
if (week) params.set('week', String(week));
const queryString = params.toString();