From 968ad5c7139e927a3babf1a08ec54657d4d6d1e4 Mon Sep 17 00:00:00 2001 From: Jason Litton Date: Tue, 22 Oct 2024 15:49:44 -0600 Subject: [PATCH] bug(core-ticket): Add dispatch_weblink field to core ticket plugin (#5377) * fix(core-ticket): Add dispatch_weblink field to core ticket plugin When using the core ticket plugin, we're getting the error `TypeError: DispatchTicketPlugin.update() got an unexpected keyword argument 'dispatch_weblink'` This field was added for the Jira ticket plugin but never added to the core plugin. Since the plugin returns no matter the arguments, I've simply added the field. * add newline that ide removed --- src/dispatch/plugins/dispatch_core/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dispatch/plugins/dispatch_core/plugin.py b/src/dispatch/plugins/dispatch_core/plugin.py index 2dbeb354a615..f8e881f160aa 100644 --- a/src/dispatch/plugins/dispatch_core/plugin.py +++ b/src/dispatch/plugins/dispatch_core/plugin.py @@ -211,6 +211,7 @@ def update( document_weblink: str, storage_weblink: str, conference_weblink: str, + dispatch_weblink: str, cost: float, incident_type_plugin_metadata: dict = None, ):