Skip to content

Commit

Permalink
fix: [CODE-2954]: fix webhook query (#3175)
Browse files Browse the repository at this point in the history
* fix: [CODE-2954]: fix webhook query
  • Loading branch information
abhinav-harness authored and Harness committed Dec 19, 2024
1 parent 800947f commit 4a55eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/store/database/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ func applyWebhookFilter(
}

if opts.SkipInternal {
stmt = stmt.Where("webhook_type == ?", enum.WebhookTypeExternal)
stmt = stmt.Where("webhook_type = ?", enum.WebhookTypeExternal)
}

return stmt
Expand Down

0 comments on commit 4a55eda

Please sign in to comment.