Spaces:
Running
Running
Fix issue year not added automatically.
Browse files
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 |
-
"
|
| 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
|