Skip to content

Commit 2b32805

Browse files
acoumbAndyButland
andauthored
Update src/Umbraco.Forms.Integrations.Crm.Hubspot/App_Plugins/UmbracoForms.Integrations/Crm/Hubspot/hubspotfields.component.js
Co-authored-by: Andy Butland <[email protected]>
1 parent d025abd commit 2b32805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Forms.Integrations.Crm.Hubspot/App_Plugins/UmbracoForms.Integrations/Crm/Hubspot/hubspotfields.component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function HubSpotFieldsController($scope, $routeParams, umbracoFormsIntegrationsC
8080

8181
// Setup the post message handler for automatic authentication without having to copy and paste the code from the proxy site.
8282
const receiveMessage = (event) => {
83-
$scope.oauthCountWatcher = $scope.oauthCountWatcher + 1;
83+
$scope.oauthCountWatcher += 1;
8484
if (event.data.type === "hubspot:oauth:success") {
8585
vm.oauthCode = event.data.code;
8686
$scope.$apply();

0 commit comments

Comments
 (0)