@unito/integration-cli 0.62.5 → 0.62.6
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.
|
@@ -165,15 +165,16 @@ class Publish extends baseCommand_1.BaseCommand {
|
|
|
165
165
|
}
|
|
166
166
|
if (integration) {
|
|
167
167
|
core_1.ux.action.start('Integration found. Updating', undefined, { stdout: true });
|
|
168
|
+
const configurationPayload = {
|
|
169
|
+
...integrationConfiguration,
|
|
170
|
+
};
|
|
168
171
|
if (integration.archivedAt) {
|
|
169
172
|
core_1.ux.action.start(`Integration previously archived on ${integration.archivedAt}. Un-archiving`, undefined, {
|
|
170
173
|
stdout: true,
|
|
171
174
|
});
|
|
175
|
+
configurationPayload.archived = false;
|
|
172
176
|
}
|
|
173
|
-
updated = await IntegrationsPlatform.updateIntegration(integration.id,
|
|
174
|
-
...integrationConfiguration,
|
|
175
|
-
archived: false,
|
|
176
|
-
});
|
|
177
|
+
updated = await IntegrationsPlatform.updateIntegration(integration.id, configurationPayload);
|
|
177
178
|
}
|
|
178
179
|
else {
|
|
179
180
|
core_1.ux.action.start('Integration not found. Creating', undefined, { stdout: true });
|
package/oclif.manifest.json
CHANGED