mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
feat: return certSlug on /certificate/showCert (#51209)
This commit is contained in:
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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user