Skip to content

Commit

Permalink
Removins logging
Browse files Browse the repository at this point in the history
  • Loading branch information
unknowndomain committed Jan 12, 2018
1 parent 8c24748 commit 3e430fe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion apps/enroll/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ app.get( '/:tagId', function ( req, res ) {
} );

app.post( '/:tagId', function ( req, res ) {
console.log(req.body.email)
// send a linking email to the right email address
Membership.enroll( req.params['tagId'], req.body.email, function (err) {
if (!err)
Expand Down
1 change: 0 additions & 1 deletion apps/gateway/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ var express = require( 'express' ),


app.get( '/:tokenId', function ( req, res ) {
console.log("Gateway for " + req.params['tokenId']);
Membership.validate(req.params['tokenId'], function (result) {
if (!result.valid)
{
Expand Down
3 changes: 0 additions & 3 deletions src/js/nfc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ module.exports = function( sio ) {
console.log(`${reader.reader.name} device attached`);

reader.on('card', function (card) {

console.log(`card detected`, card);
io.emit('card', card.uid);

});

reader.on('error', function (err) {
Expand Down

0 comments on commit 3e430fe

Please sign in to comment.