Created
March 12, 2015 07:02
-
-
Save itsmemattchung/eb8ebc0982ee4c0ae29d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 Cart.prototype.findTicket = function(ticket){ | |
28 return db.query(findTicketQuery, [this.sessionid, ticket.id]) | |
29 .then(function(results)){ | |
30 return new Ticket(results.rows[0]) | |
31 }) | |
32 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment