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.