duplicate contacts catch and handle and welsh
This commit is contained in:
@@ -43,9 +43,9 @@ export default async function ApiProxy(req, res) {
|
||||
var queryUrl =
|
||||
"contacts?$filter=emailaddress1 eq '" +
|
||||
emailAddress +
|
||||
"'&$count=true&$select=emailaddress1,contactid,yomifullname,firstname,lastname";
|
||||
"' and statuscode eq 1&$count=true&$select=emailaddress1,contactid,yomifullname,firstname,lastname";
|
||||
|
||||
//console.log(req.query);
|
||||
console.log(req.query, queryUrl);
|
||||
|
||||
var apiResponse = _.isEmpty(req.query)
|
||||
? res.status(400).json()
|
||||
|
||||
Reference in New Issue
Block a user