Fix typos

This commit is contained in:
Berkeley Martinez
2016-02-10 10:05:51 -08:00
parent dc27f53ecb
commit a4dd9667ca
3 changed files with 15 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ export default function certificate(app) {
function verifyCert(certType, req, res, next) {
const { user } = req;
return certTypeIds[certType]()
return certTypeIds[certType]
.flatMap(challenge => {
const {
id,
@@ -108,7 +108,7 @@ export default function certificate(app) {
}
};
return req.user.udate$(updateData)
return req.user.update$(updateData)
// If user has commited to nonprofit,
// this will complete his pledge
.flatMap(