From cb56383fff765812875a0ed2d77f192761e11bd5 Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Mon, 21 Oct 2024 12:43:16 +0200 Subject: [PATCH] format --- .../backend/backend/integrations/webhooks/github.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/autogpt_platform/backend/backend/integrations/webhooks/github.py b/autogpt_platform/backend/backend/integrations/webhooks/github.py index eeb0f0bb8a11..17d789776383 100644 --- a/autogpt_platform/backend/backend/integrations/webhooks/github.py +++ b/autogpt_platform/backend/backend/integrations/webhooks/github.py @@ -63,9 +63,7 @@ async def trigger_ping(self, webhook: integrations.Webhook) -> None: } repo, github_hook_id = webhook.resource, webhook.provider_webhook_id - ping_url = ( - f"{self.GITHUB_API_URL}/repos/{repo}/hooks/{github_hook_id}/pings" - ) + ping_url = f"{self.GITHUB_API_URL}/repos/{repo}/hooks/{github_hook_id}/pings" response = requests.post(ping_url, headers=headers)