Ghost/ghost/members-api/lib/repositories
Naz 82ed10473b
Added 'getDefaultProduct' convenience method to product repo
refs https://github.com/TryGhost/Team/issues/1869

- There are multiple places in the codebase fetching "default product". The code is slightly divergent in each one of them and has been a source of bugs (like the one referenced). Having the logic captured in one place will allow reducing the code duplication, making code less bug prone, and making testing the modules dependent on the "setDefaultProduct" method easier
2022-10-20 17:19:52 +08:00
..
event.js Added post_id filter and total to activity feed API (#15650) 2022-10-18 15:52:04 +02:00
member.js Fixed import of bson-objectid in accordance to the typings 2022-10-12 14:54:35 +07:00
product.js Added 'getDefaultProduct' convenience method to product repo 2022-10-20 17:19:52 +08:00