fix: linter
This commit is contained in:
parent
09a11589d2
commit
5cea6929f9
4 changed files with 5 additions and 5 deletions
|
@ -28,11 +28,11 @@ export class QuestionController extends BaseController {
|
|||
return this.post<QuestionResponse>("/", questionData, {lang: this.loId.lang})
|
||||
}
|
||||
|
||||
async remove(sequenceNumber: number) {
|
||||
async remove(sequenceNumber: number): Promise<QuestionResponse> {
|
||||
return this.delete<QuestionResponse>(`/${sequenceNumber}`, {lang: this.loId.lang});
|
||||
}
|
||||
|
||||
async update(sequenceNumber: number, questionData: QuestionData) {
|
||||
async update(sequenceNumber: number, questionData: QuestionData): Promise<QuestionResponse> {
|
||||
return this.put<QuestionResponse>(`/${sequenceNumber}`, questionData, {lang: this.loId.lang});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue