(id, options)
| 8 | } |
| 9 | |
| 10 | const submitExam = async (id, options) => { |
| 11 | return fetchJson(`/db/user-exams/${id}/submit`, { |
| 12 | method: 'POST', |
| 13 | json: options, |
| 14 | }) |
| 15 | } |
| 16 | |
| 17 | const getUserExam = async (examId, includeArchived) => { |
| 18 | let url = `/db/user-exams/${examId}` |