mewhenmonkeyavatar commited on
Commit
dd1afb2
·
verified ·
1 Parent(s): 360fc79

Fix issue year not added automatically.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ def create_linkedin_button(username: str, cert_url: str | None) -> str:
127
  "name": COURSE_TITLE,
128
  "organizationName": "Hugging Face",
129
  "organizationId": CERTIFYING_ORG_LINKEDIN_ID,
130
- "organizationIdissueYear": str(current_year),
131
  "issueMonth": str(current_month),
132
  "certUrl": certificate_url,
133
  "certId": username, # Using username as cert ID
 
127
  "name": COURSE_TITLE,
128
  "organizationName": "Hugging Face",
129
  "organizationId": CERTIFYING_ORG_LINKEDIN_ID,
130
+ "issueYear": str(current_year),
131
  "issueMonth": str(current_month),
132
  "certUrl": certificate_url,
133
  "certId": username, # Using username as cert ID