Ghost/ghost/members-api/lib/repositories
Naz 6121451b5d Reused _resolveContextSource method in member update
refs https://github.com/TryGhost/Toolbox/issues/386

- Reusing tontext mapping logic to improve maintainability. It seems like the `update` method was not updated properly or intentionally was left out from  'import' source as that should not ever happen theoretically. Probably the latter is most likely.
- My reasoning on reusing same context to source mapping is: it is better to attribute an appropriate "import" source here. Who knows, maybe we'll have logic in the future where the importer updates instead of skipping existing members. It would not make sense to attribute the source to 'member' in that case, amirite?
- This refactor also makes maintainability of this code way easier
2022-08-23 14:38:46 +08:00
..
event.js Added comment events to activity feed (#15064) 2022-07-25 17:48:23 +02:00
member.js Reused _resolveContextSource method in member update 2022-08-23 14:38:46 +08:00
product.js Restricted existing prices to those that are active (#15195) 2022-08-08 16:18:07 +01:00