Ghost/ghost/members-importer
Naz cc72e8f599
🐛 Fixed complimentary_plan Member imports
closes https://github.com/TryGhost/Team/issues/2219

- The CSV importer was failing when a "complimentary_plan" flag was present with a "true" value. The root of the issue was the data model change where the "id" of the Tier object is no longer a String but an ObjectID instance. It's a slight departure from previous bookshelf object behavior where 'id' property is always a string that is a stringified ObjectID.
- In the future we should unify the logic across all data access objects to either keep the convention of using a String under id property or switch to ObjectId instances.
2022-11-08 11:47:00 +07:00
..
lib 🐛 Fixed complimentary_plan Member imports 2022-11-08 11:47:00 +07:00
test 🐛 Fixed complimentary_plan Member imports 2022-11-08 11:47:00 +07:00
.eslintrc.js
index.js
package.json Update Test & linting packages 2022-11-07 20:39:48 +00:00