MCPcopy Create free account
hub / github.com/TryCatchLearn/Overflow / postQuestion

Function postQuestion

webapp/src/lib/actions/question-actions.ts:115–117  ·  view source on GitHub ↗
(question: QuestionSchema)

Source from the content-addressed store, hash-verified

113}
114
115export async function postQuestion(question: QuestionSchema) {
116 return await fetchClient<Question>(`/questions`, 'POST', {body: question});
117}
118
119export async function updateQuestion(question: QuestionSchema, id: string) {
120 return fetchClient(`/questions/${id}`, 'PUT', {body: question})

Callers 1

onSubmitFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…