Show 404 error for unresolved tracking urls
This commit is contained in:
parent
6eed682d93
commit
e2ae925b97
2 changed files with 13 additions and 1 deletions
|
@ -18,7 +18,7 @@ module.exports.resolve = (campaignCid, linkCid, callback) => {
|
|||
return callback(err);
|
||||
}
|
||||
if (!campaign) {
|
||||
return callback('Campaign not found');
|
||||
return callback(null, false);
|
||||
}
|
||||
db.getConnection((err, connection) => {
|
||||
if (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue