Skip to content

Commit d1c15da

Browse files
committed
RevokeToken method rename. remove console.log
1 parent 111ddef commit d1c15da

File tree

1 file changed

+1
-3
lines changed
  • src/Umbraco.Cms.Integrations.Crm.Hubspot/App_Plugins/UmbracoCms.Integrations/Crm/Hubspot/js

1 file changed

+1
-3
lines changed

src/Umbraco.Cms.Integrations.Crm.Hubspot/App_Plugins/UmbracoCms.Integrations/Crm/Hubspot/js/settings.controller.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
useOAuth: response.isValid === true && response.type.value === oauthName
3434
};
3535

36-
console.log("STATUS: ", vm.status);
37-
3836
if (vm.status.useOAuth) {
3937
validateOAuthSetup();
4038
}
@@ -57,7 +55,7 @@
5755
}
5856

5957
vm.onRevokeToken = function() {
60-
umbracoCmsIntegrationsCrmHubspotResource.revokeToken().then(function (response) {
58+
umbracoCmsIntegrationsCrmHubspotResource.revokeAccessToken().then(function (response) {
6159
vm.oauthSetup.isConnected = false;
6260
});
6361
}

0 commit comments

Comments
 (0)