Skip to content

Commit b138c9a

Browse files
committed
Fix typos
1 parent b8223ad commit b138c9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rodbot/plugins/github_webhook/README.github_webhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You can change how the plugin reacts to which webhook requests by configuring a
4747

4848
```ruby
4949
plugin :github_webhook do
50-
handler: ->(request) do
50+
handler ->(request) do
5151
if request.env['HTTP_X_GITHUB_EVENT'] == 'workflow_run'
5252
json = JSON.parse(request.body.read)
5353
project = json.dig('repository', 'full_name')

lib/rodbot/plugins/gitlab_webhook/README.gitlab_webhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You can change how the plugin reacts to which webhook requests by configuring a
4545

4646
```ruby
4747
plugin :gitlab_webhook do
48-
handler: ->(request) do
48+
handler ->(request) do
4949
json = JSON.parse(request.body.read)
5050
if json['object_kind'] == 'pipeline'
5151
project = json.dig('project', 'path_with_namespace')

0 commit comments

Comments
 (0)