From f5615567f92c07dbc135b9f3c609a8a89c3a6126 Mon Sep 17 00:00:00 2001 From: Jez Higgins Date: Thu, 5 Sep 2019 15:33:47 +0100 Subject: [PATCH] removed console.log --- web-server/imagehash/authenticate-photo.js | 2 -- web-server/imagehash/fingerprint-photo.js | 1 - 2 files changed, 3 deletions(-) diff --git a/web-server/imagehash/authenticate-photo.js b/web-server/imagehash/authenticate-photo.js index 608f327..0ca424d 100644 --- a/web-server/imagehash/authenticate-photo.js +++ b/web-server/imagehash/authenticate-photo.js @@ -5,8 +5,6 @@ import { promises as fsp } from 'fs'; async function authenticatePhoto(imagePath) { const result = await checkPhoto(imagePath, '/tmp/fingerprints'); - console.log(result) - if (!result.found) return { authentic: false }; diff --git a/web-server/imagehash/fingerprint-photo.js b/web-server/imagehash/fingerprint-photo.js index 46a35cb..54e0e67 100644 --- a/web-server/imagehash/fingerprint-photo.js +++ b/web-server/imagehash/fingerprint-photo.js @@ -20,7 +20,6 @@ async function fingerprintPhoto(filename) { function reindexFingerprints(fingerprintPath) { runScript(reindexer, fingerprintPath) - .then(console.log) } async function checkPhoto(photoPath, fingerprintPath) {