Skip to content

Commit

Permalink
removed console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
jezhiggins committed Sep 10, 2019
1 parent f3f89a2 commit f561556
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions web-server/imagehash/authenticate-photo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

Expand Down
1 change: 0 additions & 1 deletion web-server/imagehash/fingerprint-photo.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ async function fingerprintPhoto(filename) {

function reindexFingerprints(fingerprintPath) {
runScript(reindexer, fingerprintPath)
.then(console.log)
}

async function checkPhoto(photoPath, fingerprintPath) {
Expand Down

0 comments on commit f561556

Please sign in to comment.