fix: remove newsletter related code

This commit is contained in:
sokumon
2025-06-27 01:21:33 +05:30
parent fab0f4f337
commit b630ccc8e6
4 changed files with 0 additions and 58 deletions

View File

@@ -1 +0,0 @@
import "./website_utils";

View File

@@ -1,14 +0,0 @@
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
if (!window.erpnext) window.erpnext = {};
erpnext.subscribe_to_newsletter = function (opts, btn) {
return frappe.call({
type: "POST",
method: "frappe.email.doctype.newsletter.newsletter.subscribe",
btn: btn,
args: { email: opts.email },
callback: opts.callback,
});
};