@imposium-hub/components 1.33.0 → 1.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.js +1 -1
- package/dist/components.js.map +1 -1
- package/package.json +1 -1
- package/services/API.ts +7 -5
package/package.json
CHANGED
package/services/API.ts
CHANGED
|
@@ -1096,12 +1096,14 @@ export default class API {
|
|
|
1096
1096
|
});
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
1099
|
-
public redirectToBillingPortal = (orgId : string) :
|
|
1099
|
+
public redirectToBillingPortal = (orgId : string) : void => {
|
|
1100
1100
|
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1101
|
+
window.location.replace(`/account/${orgId}/billing-portal`);
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
public renewPlan = (orgId : string) : void => {
|
|
1105
|
+
|
|
1106
|
+
window.location.replace(`/account/${orgId}/renew`);
|
|
1105
1107
|
}
|
|
1106
1108
|
|
|
1107
1109
|
public getAPIUsageOverview = (startDate? : number, endDate? : number) : Promise<any> => {
|