@overmap-ai/core 1.0.38-component-fields.30 → 1.0.38-component-fields.32
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
|
@@ -5664,12 +5664,9 @@ class UserFormService extends BaseApiService {
|
|
|
5664
5664
|
try {
|
|
5665
5665
|
await this.enqueueRequest({
|
|
5666
5666
|
description: "Attach form to component stage",
|
|
5667
|
-
method: HttpMethod.
|
|
5668
|
-
url: `/forms/${formId2}/`,
|
|
5667
|
+
method: HttpMethod.POST,
|
|
5668
|
+
url: `/forms/${formId2}/associate-with-stage/`,
|
|
5669
5669
|
payload: { component_stage: componentStageId },
|
|
5670
|
-
queryParams: {
|
|
5671
|
-
component_stage: componentStageId
|
|
5672
|
-
},
|
|
5673
5670
|
blockers: [formId2, componentStageId],
|
|
5674
5671
|
blocks: [formId2]
|
|
5675
5672
|
});
|
|
@@ -5684,12 +5681,8 @@ class UserFormService extends BaseApiService {
|
|
|
5684
5681
|
try {
|
|
5685
5682
|
await this.enqueueRequest({
|
|
5686
5683
|
description: "Remove form from component stage",
|
|
5687
|
-
method: HttpMethod.
|
|
5688
|
-
url: `/forms/${formId2}/`,
|
|
5689
|
-
payload: { component_stage: void 0 },
|
|
5690
|
-
queryParams: {
|
|
5691
|
-
component_stage: componentStageId
|
|
5692
|
-
},
|
|
5684
|
+
method: HttpMethod.DELETE,
|
|
5685
|
+
url: `/forms/${formId2}/associate-with-stage/`,
|
|
5693
5686
|
blockers: [formId2, componentStageId],
|
|
5694
5687
|
blocks: [formId2]
|
|
5695
5688
|
});
|