diff --git a/src/components/ciPipeline/Webhook/WebhookDetailsModal.tsx b/src/components/ciPipeline/Webhook/WebhookDetailsModal.tsx index 44641514cc..46628b519e 100644 --- a/src/components/ciPipeline/Webhook/WebhookDetailsModal.tsx +++ b/src/components/ciPipeline/Webhook/WebhookDetailsModal.tsx @@ -218,7 +218,7 @@ export const WebhookDetailsModal = ({ close }: WebhookDetailType) => { const { result } = await createGeneratedAPIToken(payload) if (result) { const userPermissionPayload = createUserPermissionPayload({ - id: result.id, + id: result.userId, userIdentifier: result.userIdentifier, userRoleGroups: [], serverMode: SERVER_MODE.FULL,