mieliespoor commented on code in PR #8611:
URL:
https://github.com/apache/incubator-devlake/pull/8611#discussion_r2453432395
##########
config-ui/src/features/connections/utils.ts:
##########
@@ -51,6 +51,6 @@ export const transformWebhook = (connection: IWebhookAPI):
IWebhook => {
closeIssuesEndpoint: connection.closeIssuesEndpoint,
postPipelineDeployTaskEndpoint: connection.postPipelineDeployTaskEndpoint,
postPullRequestsEndpoint: connection.postPullRequestsEndpoint,
- apiKeyId: connection.apiKey.id,
+ apiKeyId: connection.apiKey?.id,
Review Comment:
apiKey is optional for a webhook, so we won't always have an apiKey id.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]