Skip to content

Commit

Permalink
chore(organization_webhook): fix insecure_ssl (#2196)
Browse files Browse the repository at this point in the history
Co-authored-by: Keegan Campbell <[email protected]>
  • Loading branch information
EttoreFoti and kfcampbell authored Mar 25, 2024
1 parent e3d487b commit e1f5feb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions github/resource_github_organization_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ func resourceGithubOrganizationWebhookCreate(d *schema.ResourceData, meta interf
if hook.Config["secret"] != nil {
hook.Config["secret"] = webhookObj.Config["secret"]
}

hook.Config = insecureSslStringToBool(hook.Config)

if err = d.Set("configuration", []interface{}{hook.Config}); err != nil {
return err
}
Expand Down

0 comments on commit e1f5feb

Please sign in to comment.