hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiB4e0a329Burak Boduroğlu2 months ago537 commits
| 1 | import { client } from "../client"; |
| 2 | |
| 3 | // Detaches the course and sweeps only the rows this class pumped. Needs |
| 4 | // course-manage rights, except when the course row is already gone. |
| 5 | export function deleteClassCourse(classId: string, courseId: string): Promise<void> { |
| 6 | return client<void>(`/classes/${classId}/courses/${courseId}`, { method: "DELETE" }); |
| 7 | } |