Skip to content

Commit

Permalink
chore: disable no-await-without-trycatch in backend (#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
mantariksh authored Apr 12, 2021
1 parent 765c642 commit 150b6c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"files": ["*.ts", "*.js"],
"excludedFiles": ["**/*.spec.ts", "**/.spec.js", "**/__tests__/**/*.ts"],
"rules": {
"typesafe/no-await-without-trycatch": "warn",
"@typescript-eslint/no-non-null-assertion": "error"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ export const handleStreamEncryptedResponses: RequestHandler<
const { startDate, endDate } = req.query

// Step 1: Retrieve currently logged in user.
// eslint-disable-next-line typesafe/no-await-without-trycatch
const cursorResult = await getPopulatedUserById(sessionUserId)
.andThen((user) =>
// Step 2: Check whether user has read permissions to form
Expand Down

0 comments on commit 150b6c6

Please sign in to comment.