We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b1e420 commit 4d71296Copy full SHA for 4d71296
src/Umbraco.Cms.Integrations.Crm.Hubspot.Core/Controllers/FormsController.cs
@@ -240,7 +240,7 @@ public async Task<ResponseDto> ValidateAccessToken()
240
{
241
// Attempt to refresh the access token
242
var refreshAccessTokenResponse = await _authorizationService.RefreshAccessTokenAsync();
243
- if (string.IsNullOrEmpty(refreshAccessTokenResponse) || refreshAccessTokenResponse == BaseAuthorizationService.ErrorPrefix)
+ if (string.IsNullOrEmpty(refreshAccessTokenResponse) || refreshAccessTokenResponse.StartsWith(BaseAuthorizationService.ErrorPrefix))
244
245
return new ResponseDto
246
0 commit comments