mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-07 18:03:49 -05:00
feat: return certSlug on /certificate/showCert (#51209)
This commit is contained in:
committed by
GitHub
parent
e99154665e
commit
a12930c95c
@@ -506,6 +506,7 @@ function createShowCert(app) {
|
||||
|
||||
if (!showName) {
|
||||
return res.json({
|
||||
certSlug,
|
||||
certTitle,
|
||||
username,
|
||||
date: completedDate,
|
||||
@@ -514,6 +515,7 @@ function createShowCert(app) {
|
||||
}
|
||||
|
||||
return res.json({
|
||||
certSlug,
|
||||
certTitle,
|
||||
username,
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user