fix: handle large URL on webhook logs (#31428)

Missed in https://github.com/frappe/frappe/pull/24761
This commit is contained in:
Ankush Menat 2025-02-25 15:27:29 +05:30 committed by GitHub
parent 0040c7f852
commit c229f5a34a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 4 deletions

View file

@ -20,7 +20,7 @@
"fields": [
{
"fieldname": "url",
"fieldtype": "Data",
"fieldtype": "Text",
"label": "URL",
"read_only": 1
},
@ -74,7 +74,8 @@
"fieldname": "webhook",
"fieldtype": "Link",
"label": "Webhook",
"options": "Webhook"
"options": "Webhook",
"search_index": 1
},
{
"fieldname": "reference_doctype",
@ -88,7 +89,7 @@
"in_create": 1,
"index_web_pages_for_search": 1,
"links": [],
"modified": "2024-09-14 05:52:41.583612",
"modified": "2025-02-25 15:16:24.028963",
"modified_by": "Administrator",
"module": "Integrations",
"name": "Webhook Request Log",
@ -108,6 +109,7 @@
"write": 1
}
],
"row_format": "Compressed",
"sort_field": "creation",
"sort_order": "DESC",
"states": []

View file

@ -20,7 +20,7 @@ class WebhookRequestLog(Document):
reference_doctype: DF.Data | None
reference_document: DF.Data | None
response: DF.Code | None
url: DF.Data | None
url: DF.Text | None
user: DF.Link | None
webhook: DF.Link | None
# end: auto-generated types