Skip to content

Commit

Permalink
Merge pull request #166 from dimagi/pkv/fix-learn-modules-duplicate-i…
Browse files Browse the repository at this point in the history
…ssue

Fix saving duplicate completed modules
  • Loading branch information
calellowitz authored Oct 12, 2023
2 parents 7bd6d7d + 7d0cbef commit eaf35b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commcare_connect/form_receiver/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def process_learn_modules(user, xform: XForm, app: CommCareApp, opportunity: Opp
user=user,
module=module,
opportunity=opportunity,
xform_id=xform.id,
defaults={
"xform_id": xform.id,
"date": xform.received_on,
"duration": xform.metadata.duration,
"app_build_id": xform.build_id,
Expand Down

0 comments on commit eaf35b1

Please sign in to comment.