Skip to content
Snippets Groups Projects
Commit 912c7905 authored by Andrei Cioromila's avatar Andrei Cioromila
Browse files

refactor(fragmentInvitations): Remove default values for user details

parent 6e16ac1d
No related branches found
No related tags found
3 merge requests!160Update staging with master features,!150Develop,!89Hin 1036
This commit is part of merge request !89. Comments created here will be created in the context of that merge request.
...@@ -130,7 +130,7 @@ module.exports = models => async (req, res) => { ...@@ -130,7 +130,7 @@ module.exports = models => async (req, res) => {
const userHelper = new User({ UserModel }) const userHelper = new User({ UserModel })
const userData = req.body const userData = req.body
const { firstName = '', lastName = '', isPublons } = userData const { firstName, lastName, isPublons } = userData
if (!services.checkForUndefinedParams(firstName, lastName)) { if (!services.checkForUndefinedParams(firstName, lastName)) {
return res return res
.status(400) .status(400)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment