Skip to content

Commit b45b230

Browse files
committed
Merge branch 'main' into feature/hubspot-oauth-proxy-pipeline
2 parents 9ed886c + 1359a57 commit b45b230

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Umbraco.Forms.Integrations.Crm.Hubspot/Services/HubspotContactService.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,14 @@ public async Task<CommandResult> PostContactAsync(Record record, List<MappedProp
168168
{
169169
return CommandResult.Success;
170170
}
171+
else
172+
{
173+
_logger.Error<HubspotContactService>("Error submitting a HubSpot contact request ");
174+
return CommandResult.Failed;
175+
}
171176
}
172177

173-
_logger.Error<HubspotContactService>("Error submitting a HubSpot contact request ");
174-
return CommandResult.Failed;
178+
return CommandResult.Success;
175179
}
176180

177181
private AuthenticationDetail GetConfiguredAuthenticationDetails()

0 commit comments

Comments
 (0)