fix(js): use the correct field for sentry DSN

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2023-11-30 12:01:20 +05:30 committed by Ankush Menat
parent 9a0a5468c5
commit 2bab0ab309

View file

@ -1,6 +1,6 @@
import * as Sentry from "@sentry/browser";
Sentry.init({
dsn: frappe.boot.sentry?.dsn,
dsn: frappe.boot.sentry,
release: frappe?.boot?.versions?.frappe,
});