-
Notifications
You must be signed in to change notification settings - Fork 8
Feature/hanoak #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/hanoak #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to overlook the type of Migration. As of now its ok.
himanshu-contentstack
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look into the comments and do the needful
| owner: req?.body?.token_payload?.user_id, | ||
| }); | ||
|
|
||
| project.migration[0].name = req?.body?.name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use destructure operator instead of doing req.body.... everytime
| _id: projectId, | ||
| "migration._id": migrationId, | ||
| org_id: orgId, | ||
| region: req?.body?.token_payload?.region, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use destructure operator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need that, wouldn't that be an extra?
himanshu-contentstack
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Schema structure needs to be overlooked
No description provided.