const db = require('../db.js');

module.exports = (facebookId) => {
  const query = `SELECT * FROM users WHERE facebook_id = '${facebookId}'`;
  return db.query(query)
    .spread((results, metadata) => results);
};


Rename query function to specify input fbId not fbProfile
Rename query function to specify input fbId not fbProfile
