Spaces:
Running
Running
Update app.py
Browse filesTried to fix redirect error
app.py
CHANGED
|
@@ -126,8 +126,7 @@ def create_linkedin_button(username: str, cert_url: str | None) -> str:
|
|
| 126 |
"startTask": "CERTIFICATION_NAME",
|
| 127 |
"name": COURSE_TITLE,
|
| 128 |
"organizationName": "Hugging Face",
|
| 129 |
-
"
|
| 130 |
-
"organizationIdissueYear": str(current_year),
|
| 131 |
"issueMonth": str(current_month),
|
| 132 |
"certUrl": certificate_url,
|
| 133 |
"certId": username, # Using username as cert ID
|
|
|
|
| 126 |
"startTask": "CERTIFICATION_NAME",
|
| 127 |
"name": COURSE_TITLE,
|
| 128 |
"organizationName": "Hugging Face",
|
| 129 |
+
"issueYear": str(current_year),
|
|
|
|
| 130 |
"issueMonth": str(current_month),
|
| 131 |
"certUrl": certificate_url,
|
| 132 |
"certId": username, # Using username as cert ID
|