Skip to content

Commit

Permalink
Fix latest questionnaire date
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszbachorski committed Oct 8, 2024
1 parent 1a8cd56 commit 11f9f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/~_dashboard/~patients/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export const getUserActivity = async ({
const latestQuestionnaires = await getDocsData(
query(
refs.questionnaireResponses({ resourceType, userId: authUser.uid }),
orderBy('authored'),
orderBy('authored', 'desc'),

Check warning on line 227 in routes/~_dashboard/~patients/utils.ts

View check run for this annotation

Codecov / codecov/patch

routes/~_dashboard/~patients/utils.ts#L227

Added line #L227 was not covered by tests
limit(1),
),
)
Expand Down

0 comments on commit 11f9f8c

Please sign in to comment.