mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
refactor(api): remove extraneous lookup (#51210)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b5c86d4b9c
commit
019d7f0d97
@@ -59,12 +59,12 @@ export default function bootCertificate(app) {
|
||||
|
||||
export function getFallbackFullStackDate(completedChallenges, completedDate) {
|
||||
var chalIds = [
|
||||
certTypeIdMap[certTypes.respWebDesign],
|
||||
certTypeIdMap[certTypes.jsAlgoDataStruct],
|
||||
certTypeIdMap[certTypes.frontEndDevLibsId],
|
||||
certTypeIdMap[certTypes.dataVis2018],
|
||||
certTypeIdMap[certTypes.apisMicroservicesId],
|
||||
certTypeIdMap[certTypes.legacyInfosecQaId]
|
||||
respWebDesignId,
|
||||
jsAlgoDataStructId,
|
||||
frontEndDevLibsId,
|
||||
dataVis2018Id,
|
||||
apisMicroservicesId,
|
||||
legacyInfosecQaId
|
||||
];
|
||||
|
||||
const latestCertDate = completedChallenges
|
||||
|
||||
Reference in New Issue
Block a user