Merge pull request #7995 from FreeCodeCamp/fix/claim-certificate

Fix typo in claim certificate api
pull/7998/head
Quincy Larson 2016-04-08 14:58:20 -07:00
commit 098ec51332
1 changed files with 1 additions and 1 deletions

View File

@ -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 {