Skip to content

Commit

Permalink
fix: Not returning lastSeen field when there are more then one respon…
Browse files Browse the repository at this point in the history
…dent (M2-6553)
  • Loading branch information
rcmerlo committed May 15, 2024
1 parent 0b7cef1 commit d21dfc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/apps/answers/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,8 +1281,7 @@ async def fill_last_activity_workspace_respondent(
for respondent_item in respondents:
if not respondent_item.details:
continue
subjects_ids = list(map(lambda x: x.subject_id, respondent_item.details))
subjects_ids += subjects_ids
subjects_ids += list(map(lambda x: x.subject_id, respondent_item.details))
result = await self.get_last_answer_dates(subjects_ids, applet_id)
for respondent in respondents:
respondent_subject_ids = map(
Expand Down

0 comments on commit d21dfc8

Please sign in to comment.