@overmap-ai/core 1.0.58-sign-up-hotfix.1 → 1.0.58-sign-up-hotfix.2
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/overmap-core.js
CHANGED
|
@@ -8024,7 +8024,7 @@ class OrganizationService extends BaseApiService {
|
|
|
8024
8024
|
}
|
|
8025
8025
|
}
|
|
8026
8026
|
async create(name) {
|
|
8027
|
-
|
|
8027
|
+
return await this.client.enqueueRequest({
|
|
8028
8028
|
description: "Create organization",
|
|
8029
8029
|
method: HttpMethod.POST,
|
|
8030
8030
|
url: "/organizations/",
|
|
@@ -8032,8 +8032,6 @@ class OrganizationService extends BaseApiService {
|
|
|
8032
8032
|
blockers: [],
|
|
8033
8033
|
blocks: [`add-org-${name}`, "create-org"]
|
|
8034
8034
|
});
|
|
8035
|
-
await this.client.main.fetchInitialData(true);
|
|
8036
|
-
return result;
|
|
8037
8035
|
}
|
|
8038
8036
|
async update(organization) {
|
|
8039
8037
|
const promise = this.client.enqueueRequest({
|