@overmap-ai/core 1.0.53-add-agent-conversations.12 → 1.0.53-add-agent-conversations.13

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.
@@ -6605,7 +6605,7 @@ class MainService extends BaseApiService {
6605
6605
  if (replaceExisting) {
6606
6606
  this.client.store.dispatch(setIsFetchingInitialData(true));
6607
6607
  }
6608
- return this.enqueueRequest({
6608
+ const result = await this.enqueueRequest({
6609
6609
  uuid,
6610
6610
  description: "Get initial data",
6611
6611
  method: HttpMethod.GET,
@@ -6614,10 +6614,8 @@ class MainService extends BaseApiService {
6614
6614
  isAuthNeeded: true,
6615
6615
  blockers: [],
6616
6616
  blocks: []
6617
- }).then((result) => {
6618
- void this._processInitialData(result, replaceExisting);
6619
- return result;
6620
6617
  });
6618
+ void this._processInitialData(result, replaceExisting);
6621
6619
  }
6622
6620
  async fetchProjectUsers() {
6623
6621
  const projectId = this.client.store.getState().projectReducer.activeProjectId;
@@ -6673,7 +6671,6 @@ class MainService extends BaseApiService {
6673
6671
  isProjectIdValid = true;
6674
6672
  for (const workspaceData of projectData.workspaces) {
6675
6673
  const workspace = { ...workspaceData, project: projectData.id };
6676
- delete workspace.categories;
6677
6674
  workspaces[workspace.offline_id] = workspace;
6678
6675
  }
6679
6676
  }