Fix typo in claim certificate api

This commit is contained in:
Berkeley Martinez
2016-04-08 14:24:21 -07:00
parent 150a7951e3
commit 95fd287f8b

View File

@ -84,7 +84,7 @@ export default function certificate(app) {
function verifyCert(certType, req, res, next) { function verifyCert(certType, req, res, next) {
const { user } = req; const { user } = req;
return user.getChallengeMap() return user.getChallengeMap$()
.flatMap(() => certTypeIds[certType]) .flatMap(() => certTypeIds[certType])
.flatMap(challenge => { .flatMap(challenge => {
const { const {