Ghost/ghost/members-importer/test
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
..
fixtures Restricted members importer to ignore "products" column 2022-10-24 18:06:02 +08:00
utils Initialized members-importer package 2021-07-22 01:53:21 +12:00
.eslintrc.js Initialized members-importer package 2021-07-22 01:53:21 +12:00
importer.test.js 🐛 Fixed complimentary_plan Member imports 2022-11-08 11:47:00 +07:00