Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Krick <matt.krick@gmail.com>
  • Loading branch information
mattkrick committed Sep 27, 2024
1 parent 882cb0b commit baec1ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const removeTeamMember = async (
.run()

// Reassign facilitator for meetings this user is facilitating.
if (meetingIds) {
if (meetingIds.length > 0) {
const facilitatingMeetings = await pg
.selectFrom('NewMeeting')
.select('id')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const updateTeamInsights = async (teamId: string, dataLoader: DataLoaderWorker)
.selectFrom('NewMeeting')
.select(({fn}) => ['templateId as group', fn.count<bigint>('id').as('reduction')])
.where('teamId', '=', teamId)
.where('meetingType', '==', 'retrospective')
.where('meetingType', '=', 'retrospective')
.where('createdAt', '>', topRetroTemplatesPeriod)
.groupBy('templateId')
.$narrowType<{group: NotNull}>()
Expand Down

0 comments on commit baec1ce

Please sign in to comment.