forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

postOfferingSubject.ts7 lines, 345 bytesHistoryRawDownload
1import { client } from "../client";
2import type { Subject } from "../client";
3
4// Manager+. Re-selecting an already selected topic is a no-op success.
5export function postOfferingSubject(id: string, subjectId: string): Promise<Subject> {
6 return client<Subject>(`/offerings/${id}/subjects`, { method: "POST", body: { subject: subjectId } });
7}