@overmap-ai/core 1.0.58-sign-up-hotfix.1 → 1.0.58-sign-up-hotfix.3
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.
|
@@ -8014,7 +8014,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8014
8014
|
}
|
|
8015
8015
|
}
|
|
8016
8016
|
async create(name) {
|
|
8017
|
-
|
|
8017
|
+
return this.client.enqueueRequest({
|
|
8018
8018
|
description: "Create organization",
|
|
8019
8019
|
method: HttpMethod.POST,
|
|
8020
8020
|
url: "/organizations/",
|
|
@@ -8022,8 +8022,6 @@ var __publicField = (obj, key, value) => {
|
|
|
8022
8022
|
blockers: [],
|
|
8023
8023
|
blocks: [`add-org-${name}`, "create-org"]
|
|
8024
8024
|
});
|
|
8025
|
-
await this.client.main.fetchInitialData(true);
|
|
8026
|
-
return result;
|
|
8027
8025
|
}
|
|
8028
8026
|
async update(organization) {
|
|
8029
8027
|
const promise = this.client.enqueueRequest({
|