diff --git a/axiom/resource_notifier.go b/axiom/resource_notifier.go index a4da785..7fd29b2 100644 --- a/axiom/resource_notifier.go +++ b/axiom/resource_notifier.go @@ -461,7 +461,7 @@ func extractNotifier(ctx context.Context, plan NotifierResourceModel) (*axiom.No if diags.HasError() { return nil, diags } - notifier.Properties.CustomWebhook = &axiom.CustomWebhookConfig{ + notifier.Properties.CustomWebhook = &axiom.CustomWebhook{ URL: plan.Properties.CustomWebhook.URL.ValueString(), Headers: headers, Body: plan.Properties.CustomWebhook.Body.ValueString(), diff --git a/go.mod b/go.mod index 10b78ec..2584a99 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module terraform-provider-axiom-provider -go 1.22.3 +go 1.22.5 require ( github.com/axiomhq/axiom-go v0.20.0