Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mbastian93 committed Sep 14, 2023
1 parent 48a59bf commit ccb6305
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/models/QuestionnaireModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);',
Expand Down
5 changes: 4 additions & 1 deletion src/server/Route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
* @class Route
*/
export class Route {
constructor(readonly method: string, readonly route: string) {}
constructor(
readonly method: string,
readonly route: string
) {}
}

0 comments on commit ccb6305

Please sign in to comment.