likyh commented on code in PR #3929:
URL: 
https://github.com/apache/incubator-devlake/pull/3929#discussion_r1048473206


##########
config-ui/src/pages/project/detail/use-project.ts:
##########
@@ -73,12 +76,69 @@ export const useProject = (name: string) => {
     }
   }
 
+  const handleSelectWebhook = async (items: WebhookItemType[]) => {
+    const payload = {
+      ...project?.blueprint,
+      settings: {
+        version: '2.0.0',
+        connections: [
+          ...project?.blueprint.settings.connections,
+          ...items.map((it) => ({

Review Comment:
   Can the same webhook be selected twice?



-- 
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]

Reply via email to