Skip to content

Conversation

@AlexandrSavkov
Copy link
Contributor

No description provided.

@AlexandrSavkov AlexandrSavkov self-assigned this Nov 17, 2017


exports.authorizeGetTimesheet = function(req, res, next) {
exports.authorizeGetTimesheets = function(req, res, next) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not rename it. Just reuse it in new API


//Timesheet Rest API validation
exports.validateGetTimesheetByDates = function(req, res, next) {
exports.validateGetTimesheetsByDates = function(req, res, next) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create separate one. You cannot change the current API.

});
};

exports.restGetByDates = function(req, res, next) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not remove old API. Create new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants