VaibhavAjayGupta

Μέλος από
VaibhavAjayGupta

Πρόσφατη δραστηριότητα εγγράφων

Προβολή όλης της δραστηριότητας
Σελίδα Ημερομηνία Σχόλιο

Express Tutorial Part 6: Working with forms


Update validation check to .isISO8601() from .isDate() in book instance controller

Express Tutorial Part 6: Working with forms


Updated the author controller to validate date using .isISO8601() instead of .isDate() and also declared the variable i which was previously undeclared.

Express Tutorial Part 6: Working with forms


Updated the author controller code to check for alphanumeric which is previously for alpha.

Express Tutorial Part 3: Using a Database (with Mongoose)


Updated the mongoose to use default javascript promise ie mongoose.Promise = global.Promise

Express Tutorial Part 6: Working with forms


Removed .isDate() validation from checkBody of author controller as it's depreciated in validator.js.