@plusscommunities/pluss-maintenance-aws-forms 2.1.20 → 2.1.21

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.
@@ -131,7 +131,11 @@ class ArchibusStrategy extends IntegrationStrategy {
131
131
  });
132
132
 
133
133
  // Save the Archibus ID as the job number and add history entry
134
- const updatedJob = await getRef(values.tableNameMaintenance, "id", request.id);
134
+ const updatedJob = await getRef(
135
+ values.tableNameMaintenance,
136
+ "id",
137
+ request.id
138
+ );
135
139
  if (!updatedJob.history) updatedJob.history = [];
136
140
  updatedJob.history.push({
137
141
  timestamp: moment.utc().valueOf(),
@@ -164,12 +168,15 @@ class ArchibusStrategy extends IntegrationStrategy {
164
168
 
165
169
  // Add history entry for failed integration
166
170
  try {
167
- const failedJob = await getRef(values.tableNameMaintenance, "id", request.id);
171
+ const failedJob = await getRef(
172
+ values.tableNameMaintenance,
173
+ "id",
174
+ request.id
175
+ );
168
176
  if (!failedJob.history) failedJob.history = [];
169
177
  failedJob.history.push({
170
178
  timestamp: moment.utc().valueOf(),
171
179
  action: "ExternalIDSetFailed",
172
- error: e.message || e.toString(),
173
180
  user: {
174
181
  displayName: "Archibus Integration",
175
182
  id: "system",
package/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-maintenance-aws-forms",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-maintenance-aws-forms",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "description": "Extension package to enable maintenance on Pluss Communities Platform",
5
5
  "scripts": {
6
6
  "gc": "node ../../tools/gc ./",