0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Updated sentry config for members site endpoint

no refs

- updates portal sentry config's dsn and env naming
This commit is contained in:
Rishabh 2021-06-22 12:31:20 +05:30
parent 484c9a67c2
commit d9c1713dae

View file

@ -157,8 +157,8 @@ const getMemberSiteData = async function (req, res) {
}
if (config.get('portal_sentry') && !config.get('portal_sentry').disabled) {
response.portal_sentry = {
sentry_dsn: config.get('portal_sentry').dsn,
sentry_env: config.get('env')
dsn: config.get('portal_sentry').dsn,
env: config.get('env')
};
}
res.json({site: response});