Skip to content

Commit

Permalink
fix: quick fix on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DaKingKong committed Sep 18, 2024
1 parent 7a00c92 commit ab15289
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ app.get('/pipedrive-redirect', function (req, res) {
res.sendFile(path.join(__dirname, 'adapters/pipedrive/redirect.html'));
}
catch (e) {
console.log(`platform: ${platformName} \n${e.stack}`);
console.log(`platform: pipedrive \n${e.stack}`);
res.status(500).send(e);
}
})
Expand All @@ -105,7 +105,7 @@ app.delete('/pipedrive-redirect', async function (req, res) {
}
}
catch (e) {
console.log(`platform: ${platformName} \n${e.stack}`);
console.log(`platform: pipedrive \n${e.stack}`);
res.status(500).send(e);
}
})
Expand All @@ -130,7 +130,7 @@ app.get('/hostname', async function (req, res) {
}
}
catch (e) {
console.log(`platform: ${platformName} \n${e.stack}`);
console.log(`${e.stack}`);
res.status(500).send(e);
}
})
Expand Down Expand Up @@ -296,7 +296,7 @@ app.get('/userInfoHash', async function (req, res) {
res.status(200).send({ extensionId, accountId });
}
catch (e) {
console.log(`platform: ${platformName} \n${e.stack}`);
console.log(`${e.stack}`);
res.status(400).send(e);
}
})
Expand Down

0 comments on commit ab15289

Please sign in to comment.