@plusscommunities/pluss-maintenance-aws-forms 2.1.24 → 2.1.27

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.
@@ -108,6 +108,11 @@ class SeeStuffStrategy extends IntegrationStrategy {
108
108
  }
109
109
  }
110
110
 
111
+ if (_.isEmpty(crmResidentId)) {
112
+ // log an issue in the history
113
+ throw new Error("NoCRMResidentId");
114
+ }
115
+
111
116
  // Format description similar to Archibus
112
117
  const description = `${request.title}${
113
118
  _.isEmpty(request.description) ? "" : `\n\n${request.description}`
@@ -172,6 +177,11 @@ class SeeStuffStrategy extends IntegrationStrategy {
172
177
  displayName: "SeeStuff Integration",
173
178
  id: "system",
174
179
  },
180
+ systemType: "SeeStuff",
181
+ error:
182
+ e.message === "NoCRMResidentId"
183
+ ? "That resident does not have a CRM Contact Id"
184
+ : null,
175
185
  });
176
186
 
177
187
  await editRef(values.tableNameMaintenance, "id", request.id, {
package/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-maintenance-aws-forms",
3
- "version": "2.1.24",
3
+ "version": "2.1.27",
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.24",
3
+ "version": "2.1.27",
4
4
  "description": "Extension package to enable maintenance on Pluss Communities Platform",
5
5
  "scripts": {
6
6
  "gc": "node ../../tools/gc ./",