import { client } from "../client"; import type { Course } from "../client"; export function postCourseTeacher( courseId: string, userId: string, ): Promise { return client(`/courses/${courseId}/teachers`, { method: "POST", body: { user_id: userId }, }); }