diff --git a/api/services/References.js b/api/services/References.js index 05053a8a..a53612a7 100644 --- a/api/services/References.js +++ b/api/services/References.js @@ -11,10 +11,10 @@ exports.approve = function (ref, approve) { }).then(otherRef => { var refsToSave = [ref]; if (otherRef) { - otherRef.approved = approve; - otherRef.verified = approve; + //otherRef.approved = approve; + otherRef.verified = true; refsToSave.push(otherRef); - ref.verified = approve; + ref.verified = true; } return Promise.all(refsToSave.map(el => el.save())).then(refs => refs[0]); }); diff --git a/assets/views/home/row.ejs b/assets/views/home/row.ejs index db8c9557..63df338d 100644 --- a/assets/views/home/row.ejs +++ b/assets/views/home/row.ejs @@ -39,7 +39,7 @@ * - +