diff --git a/src/models/QuestionnaireModel.ts b/src/models/QuestionnaireModel.ts index 3cdd6f5bb..13c49fc63 100644 --- a/src/models/QuestionnaireModel.ts +++ b/src/models/QuestionnaireModel.ts @@ -38,9 +38,8 @@ export class QuestionnaireModel { const url = questionnaireId.split('|')[0]; try { - const participant = await this.participantModel.getAndUpdateParticipantBySubjectID( - subjectID - ); + const participant = + await this.participantModel.getAndUpdateParticipantBySubjectID(subjectID); const res = await dbClient.query( 'SELECT body, language_code FROM questionnaires WHERE id = $1 AND language_code = coalesce ((select language_code from questionnaires where language_code=$2 limit 1), $3);', diff --git a/src/server/Route.ts b/src/server/Route.ts index 2f8f6f05a..fad98bc3a 100644 --- a/src/server/Route.ts +++ b/src/server/Route.ts @@ -9,5 +9,8 @@ * @class Route */ export class Route { - constructor(readonly method: string, readonly route: string) {} + constructor( + readonly method: string, + readonly route: string + ) {} }