Skip to content

Commit

Permalink
feature: 增加查询webhook列表的接口,方便定位问题 TencentBlueKing#3573
Browse files Browse the repository at this point in the history
  • Loading branch information
mingshewhe committed Jan 21, 2021
1 parent a82bc72 commit 1204e23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ class PipelineWebhookService @Autowired constructor(
offset: Int,
limit: Int
): List<PipelineWebhook> {
if (pipelinePermissionService.checkPipelinePermission(
if (!pipelinePermissionService.checkPipelinePermission(
userId = userId,
projectId = projectId,
permission = AuthPermission.VIEW
Expand Down

0 comments on commit 1204e23

Please sign in to comment.