Skip to content

Commit

Permalink
fix: use new_doc instead of get_doc
Browse files Browse the repository at this point in the history
  • Loading branch information
shadrak98 committed Dec 22, 2023
1 parent 0fca9f1 commit 6215873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpdesk/setup/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def after_install():


def add_support_redirect_to_tickets():
website_settings = frappe.get_doc("Website Settings")
website_settings = frappe.new_doc("Website Settings")

for route_redirects in website_settings.route_redirects:
if route_redirects.source == "support":
Expand Down

0 comments on commit 6215873

Please sign in to comment.