backend-manager 3.2.43 → 3.2.44

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "3.2.43",
3
+ "version": "3.2.44",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -374,29 +374,9 @@ Module.prototype.addToSendGridList = function (user) {
374
374
  command: `v3/marketing/contacts`,
375
375
  method: `put`,
376
376
  supplemental: {
377
+ app: Manager.config.app.id,
377
378
  user: user,
378
- },
379
- body: {
380
- contacts: [
381
- {
382
- email: user?.auth?.email,
383
- address_line_1: undefined,
384
- address_line_2: undefined,
385
- // alternate_emails: [],
386
- city: user?.activity?.geolocation?.city,
387
- country: user?.activity?.geolocation?.country,
388
- first_name: undefined,
389
- last_name: undefined,
390
- postal_code: undefined,
391
- state_province_region: user?.activity?.geolocation?.region,
392
-
393
- custom_fields: {
394
- app: Manager.config.app.id,
395
- user: user?.auth?.uid,
396
- },
397
- },
398
- ],
399
- },
379
+ }
400
380
  },
401
381
  })
402
382
  .then((r) => {