Merge pull request #7995 from FreeCodeCamp/fix/claim-certificate
Fix typo in claim certificate apipull/7998/head
commit
098ec51332
|
@ -84,7 +84,7 @@ export default function certificate(app) {
|
|||
|
||||
function verifyCert(certType, req, res, next) {
|
||||
const { user } = req;
|
||||
return user.getChallengeMap()
|
||||
return user.getChallengeMap$()
|
||||
.flatMap(() => certTypeIds[certType])
|
||||
.flatMap(challenge => {
|
||||
const {
|
||||
|
|
Loading…
Reference in New Issue