Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Oct 21, 2024
1 parent 9a9ae5d commit cb56383
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cb56383

Please sign in to comment.