We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a13b50 commit 350d155Copy full SHA for 350d155
src/routes/copilotOpportunityApply/create.js
@@ -1,5 +1,6 @@
1
import _ from 'lodash';
2
import validate from 'express-validation';
3
+import Joi from 'joi';
4
5
import models from '../../models';
6
import util from '../../util';
@@ -19,6 +20,7 @@ module.exports = [
19
20
validate(applyCopilotRequestValidations),
21
async (req, res, next) => {
22
const data = req.body;
23
+ console.log(data, 'debug data');
24
const copilotOpportunityId = _.parseInt(req.params.id);
25
if (!util.hasPermissionByReq(PERMISSION.APPLY_COPILOT_OPPORTUNITY, req)) {
26
const err = new Error('Unable to apply for copilot opportunity');
0 commit comments