fix: lint
This commit is contained in:
parent
42526900d3
commit
c07db3d999
6 changed files with 18 additions and 16 deletions
|
@ -59,7 +59,7 @@ export async function deleteAnswer(questionId: QuestionId, sequenceNumber: numbe
|
|||
return mapToAnswerDTO(answer);
|
||||
}
|
||||
|
||||
export async function updateAnswer(questionId: QuestionId, sequenceNumber: number, answerData: AnswerData){
|
||||
export async function updateAnswer(questionId: QuestionId, sequenceNumber: number, answerData: AnswerData): Promise<AnswerDTO> {
|
||||
const answerRepository = getAnswerRepository();
|
||||
const answer = await fetchAnswer(questionId, sequenceNumber);
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ export async function createQuestion(loId: LearningObjectIdentifier, questionDat
|
|||
|
||||
export async function deleteQuestion(questionId: QuestionId): Promise<QuestionDTO> {
|
||||
const questionRepository = getQuestionRepository();
|
||||
const question = await fetchQuestion(questionId); // throws error if not found
|
||||
const question = await fetchQuestion(questionId); // Throws error if not found
|
||||
|
||||
const loId : LearningObjectIdentifier = {
|
||||
hruid: questionId.learningObjectIdentifier.hruid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue