Skip to content

Commit

Permalink
finished builders jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewmeyer committed Mar 2, 2018
1 parent 2ff9d74 commit 3a5d25d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/builders/project-query.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
/**
* Returns project query for past/upcoming launches
*/

// Prevent incorrect input
const lowerCase = require('lower-case');

/**
* Builds Mongo projection object to show/hide document id field
* @param {Object} req The Express request object to access querystrings
* @return {Object} Mongo compatible projection object
*/

exports.queryProject = (req) => {
const query = {};

Expand Down

0 comments on commit 3a5d25d

Please sign in to comment.