Skip to content

Commit

Permalink
feat: add prefix to reference_id parameter in certificate api client
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon committed Aug 10, 2023
1 parent 2d340c2 commit e42384c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eox_nelp/api_clients/certificates.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def create_external_certificate(self, certificate_data):
path = "Certificates"
user = certificate_data["user"]
payload = {
"reference_id": certificate_data["id"],
"reference_id": f"openedx-lms-cert-{certificate_data['id']}",
"date": {
"issuance": certificate_data["created_at"],
"expiration": None,
Expand Down

0 comments on commit e42384c

Please sign in to comment.