The license.txt file has been replaced with LICENSE for quite a while now. INAL but it didn't seem accurate to say "hey, checkout license.txt although there's no such file". Apart from this, there were inconsistencies in the headers altogether...this change brings consistency.
11 lines
285 B
Python
11 lines
285 B
Python
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
|
# License: MIT. See LICENSE
|
|
|
|
import frappe
|
|
|
|
def get_context(context):
|
|
token = frappe.local.form_dict.token
|
|
|
|
if token:
|
|
frappe.db.set_value("Integration Request", token, "status", "Cancelled")
|
|
frappe.db.commit()
|