sergiopaniego HF Staff commited on
Commit
f4aedd5
·
verified ·
1 Parent(s): 0a4e0d7

organizationIdissueYear -> issueYear when generating LinkedIn button

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def create_linkedin_button(username: str, cert_url: str | None) -> str:
110
  "name": COURSE_TITLE,
111
  "organizationName": "Hugging Face",
112
  "organizationId": CERTIFYING_ORG_LINKEDIN_ID,
113
- "organizationIdissueYear": str(current_year),
114
  "issueMonth": str(current_month),
115
  "certUrl": certificate_url,
116
  "certId": username, # Using username as cert ID
 
110
  "name": COURSE_TITLE,
111
  "organizationName": "Hugging Face",
112
  "organizationId": CERTIFYING_ORG_LINKEDIN_ID,
113
+ "issueYear": str(current_year),
114
  "issueMonth": str(current_month),
115
  "certUrl": certificate_url,
116
  "certId": username, # Using username as cert ID