This file contains hidden or 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
var q = require('Q'); | |
var profileId = req.token; | |
var deliveryId = req.route.params.id; | |
var body = req.body; | |
// validate the received request body | |
var deliveryNotes = body.notes; | |
var deliveryItems = body.items; |