refactor: Switch cloud plan retrieval endpoint (no-changelog) (#6529)
* refactor: Switch cloud plan retrieval endpoint * refactor: Remove user ID from request * refactor: Update endpoint * refactor: Update to /rest/admin/cloud-plan * refactor: Remove redundant `/rest` segment
This commit is contained in:
@@ -53,7 +53,7 @@ export const useCloudPlanStore = defineStore('cloudPlan', () => {
|
||||
state.loadingPlan = true;
|
||||
let plan;
|
||||
try {
|
||||
plan = await getCurrentPlan(rootStore.getRestCloudApiContext, `${cloudUserId}`);
|
||||
plan = await getCurrentPlan(rootStore.getRestApiContext);
|
||||
state.data = plan;
|
||||
state.loadingPlan = false;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user