Merge pull request #51449 from hendrikheil/fix/fix-authmode-webhook-typo

fix: resolve typo in authMethod enum cases
This commit is contained in:
Stephan Orbaugh 2025-03-27 14:25:02 +01:00 committed by GitHub
commit c359e620f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -110,7 +110,7 @@ class WebhooksController extends OCSController {
* @param ?array<string,mixed> $eventFilter Mongo filter to apply to the serialized data to decide if firing
* @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.
* @param ?array<string,string> $headers Array of headers to send
* @param "none"|"headers"|null $authMethod Authentication method to use
* @param "none"|"header"|null $authMethod Authentication method to use
* @param ?array<string,mixed> $authData Array of data for authentication
*
* @return DataResponse<Http::STATUS_OK, WebhookListenersWebhookInfo, array{}>
@ -178,7 +178,7 @@ class WebhooksController extends OCSController {
* @param ?array<string,mixed> $eventFilter Mongo filter to apply to the serialized data to decide if firing
* @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.
* @param ?array<string,string> $headers Array of headers to send
* @param "none"|"headers"|null $authMethod Authentication method to use
* @param "none"|"header"|null $authMethod Authentication method to use
* @param ?array<string,mixed> $authData Array of data for authentication
*
* @return DataResponse<Http::STATUS_OK, WebhookListenersWebhookInfo, array{}>

View file

@ -236,7 +236,7 @@
"nullable": true,
"enum": [
"none",
"headers"
"header"
],
"description": "Authentication method to use"
},
@ -519,7 +519,7 @@
"nullable": true,
"enum": [
"none",
"headers"
"header"
],
"description": "Authentication method to use"
},