Skip to content

Commit

Permalink
Issued_on date for assertion is direct_award created_at
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Feb 24, 2023
1 parent 6f6b7af commit 10e16f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/directaward/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def award(self, recipient):
acceptance=BadgeInstance.ACCEPTANCE_ACCEPTED,
recipient_type=BadgeInstance.RECIPIENT_TYPE_EDUID,
send_email=False,
issued_on=self.created_at,
award_type=BadgeInstance.AWARD_TYPE_DIRECT_AWARD,
direct_award_bundle=self.bundle,
evidence=evidence,
Expand Down

0 comments on commit 10e16f7

Please sign in to comment.