Skip to content

Commit c359e62

Browse files
authored
Merge pull request #51449 from hendrikheil/fix/fix-authmode-webhook-typo
fix: resolve typo in authMethod enum cases
2 parents 96e2555 + 7ac3fa7 commit c359e62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/webhook_listeners/lib/Controller/WebhooksController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function show(int $id): DataResponse {
110110
* @param ?array<string,mixed> $eventFilter Mongo filter to apply to the serialized data to decide if firing
111111
* @param ?string $userIdFilter User id to filter on. The webhook will only be called by requests from this user. Empty or null means no filtering.
112112
* @param ?array<string,string> $headers Array of headers to send
113-
* @param "none"|"headers"|null $authMethod Authentication method to use
113+
* @param "none"|"header"|null $authMethod Authentication method to use
114114
* @param ?array<string,mixed> $authData Array of data for authentication
115115
*
116116
* @return DataResponse<Http::STATUS_OK, WebhookListenersWebhookInfo, array{}>
@@ -178,7 +178,7 @@ public function create(
178178
* @param ?array<string,mixed> $eventFilter Mongo filter to apply to the serialized data to decide if firing
179179
* @param ?string $userIdFilter User id to filter on. The webhook will only be called by requests from this user. Empty or null means no filtering.
180180
* @param ?array<string,string> $headers Array of headers to send
181-
* @param "none"|"headers"|null $authMethod Authentication method to use
181+
* @param "none"|"header"|null $authMethod Authentication method to use
182182
* @param ?array<string,mixed> $authData Array of data for authentication
183183
*
184184
* @return DataResponse<Http::STATUS_OK, WebhookListenersWebhookInfo, array{}>

apps/webhook_listeners/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
"nullable": true,
237237
"enum": [
238238
"none",
239-
"headers"
239+
"header"
240240
],
241241
"description": "Authentication method to use"
242242
},
@@ -519,7 +519,7 @@
519519
"nullable": true,
520520
"enum": [
521521
"none",
522-
"headers"
522+
"header"
523523
],
524524
"description": "Authentication method to use"
525525
},

0 commit comments

Comments
 (0)