Update questions-question-encounter-router.ts

pull/409/head
hpkoh 3 years ago committed by GitHub
parent e11ebc2bc0
commit a7af0001fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,7 +93,7 @@ export const questionsQuestionEncounterRouter = createProtectedRouter()
});
}
if (questionToUpdate!.lastSeenAt < input.seenAt) {
if (questionToUpdate.lastSeenAt < input.seenAt) {
await tx.questionsQuestion.update({
data: {
lastSeenAt : input.seenAt,

Loading…
Cancel
Save