forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

postCourseNote.ts12 lines, 337 bytesHistoryRawDownload
1import { client } from "../client";
2import type { CourseNote } from "../client";
3
4export type PostCourseNoteBody = {
5 course: string;
6 title: string;
7 content?: string | null;
8};
9
10export function postCourseNote(body: PostCourseNoteBody): Promise<CourseNote> {
11 return client<CourseNote>("/course-notes", { method: "POST", body });
12}