Skip to content

Commit

Permalink
Fixed OperationOutcome on duplicate user error.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlxDobre committed Apr 17, 2019
1 parent 0298df7 commit ddd907f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function executeSql(req, res, next, type, queryType, params, successCode) {
],
"text": "Duplicate"
},
"details" : "Email address already exists!"
"details" : { text: "Email address already exists!" }
}]
};
res.send(422, outcome);
Expand Down

0 comments on commit ddd907f

Please sign in to comment.