(question: QuestionSchema)
| 113 | } |
| 114 | |
| 115 | export async function postQuestion(question: QuestionSchema) { |
| 116 | return await fetchClient<Question>(`/questions`, 'POST', {body: question}); |
| 117 | } |
| 118 | |
| 119 | export async function updateQuestion(question: QuestionSchema, id: string) { |
| 120 | return fetchClient(`/questions/${id}`, 'PUT', {body: question}) |
no outgoing calls
no test coverage detected
searching dependent graphs…