Created
February 8, 2017 19:50
-
-
Save donedgardo/c4a6cc0008308d0e41be147336969d78 to your computer and use it in GitHub Desktop.
ES6 Article
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
function updateFoodTruck({ foodTruckId, image, logo, name, takingOrders, available, location }, currentUser) { | |
return new Promise((resolve, reject) => { | |
console.log(image); // => null | |
console.log(takingOrders); // => null | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment