AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(backend): Unbreak `get_webhook` query (#10850)
Reinier van der Leerce24975a9d46
diff --git a/autogpt_platform/backend/backend/data/includes.py b/autogpt_platform/backend/backend/data/includes.pyindex b54a5998cc..ceae4bb62e 100644--- a/autogpt_platform/backend/backend/data/includes.py+++ b/autogpt_platform/backend/backend/data/includes.py@@ -59,9 +59,15 @@ def graph_execution_include(}+AGENT_PRESET_INCLUDE: prisma.types.AgentPresetInclude = {+ "InputPresets": True,+ "Webhook": True,+}++INTEGRATION_WEBHOOK_INCLUDE: prisma.types.IntegrationWebhookInclude = {"AgentNodes": {"include": AGENT_NODE_INCLUDE},- "AgentPresets": {"include": {"InputPresets": True}},+ "AgentPresets": {"include": AGENT_PRESET_INCLUDE},}@@ -75,9 +81,3 @@ def library_agent_include(user_id: str) -> prisma.types.LibraryAgentInclude:},"Creator": True,}---AGENT_PRESET_INCLUDE: prisma.types.AgentPresetInclude = {- "InputPresets": True,- "Webhook": True,-}