Skip to content

Commit

Permalink
Update internal/services/communication/email_service_domain_resource.go
Browse files Browse the repository at this point in the history
Co-authored-by: jackofallops <[email protected]>
  • Loading branch information
jkroepke and jackofallops authored Jun 3, 2024
1 parent 76a50dd commit ef01457
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,9 @@ func (EmailCommunicationServiceDomainResource) Read() sdk.ResourceFunc {
if props := model.Properties; props != nil {
state.DomainManagement = string(props.DomainManagement)

if props.FromSenderDomain != nil {
state.FromSenderDomain = pointer.From(props.FromSenderDomain)
}
state.FromSenderDomain = pointer.From(props.FromSenderDomain)

if props.MailFromSenderDomain != nil {
state.MailFromSenderDomain = pointer.From(props.MailFromSenderDomain)
}
state.MailFromSenderDomain = pointer.From(props.MailFromSenderDomain)

if props.UserEngagementTracking != nil {
state.UserEngagementTracking = *props.UserEngagementTracking == domains.UserEngagementTrackingEnabled
Expand Down

0 comments on commit ef01457

Please sign in to comment.