Ghost/ghost
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
..
adapter-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
admin Moved the resources to the new style 2022-10-20 10:01:30 +01:00
api-framework Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
api-version-compatibility-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
audience-feedback Updated feedback buttons url (#15655) 2022-10-19 15:21:43 +04:00
bootstrap-socket Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
constants Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
core Added ghost_subscription_id column to members_stripe_customers_subscriptions 2022-10-20 10:59:36 +07:00
custom-theme-settings-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
domain-events Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-provider-mailgun Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-content-generator Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
express-dynamic-redirects Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
job-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-redirects Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-replacer Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-tracking Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
magic-link Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mailgun-client Merged v5.19.2 into main 2022-10-18 17:04:23 +07:00
member-analytics-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
member-attribution Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
member-events Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-analytics-ingress Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-api Added 'getDefaultProduct' convenience method to product repo 2022-10-20 17:19:52 +08:00
members-csv Migrated CSV parser tests to 'assert' 2022-10-19 18:10:40 +08:00
members-events-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-importer Fixed broken CSV importer tests 2022-10-19 18:33:47 +08:00
members-ssr Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
minifier Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-api-version-mismatch Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-cache-control Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-error-handler Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-session-from-token Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-update-user-last-seen Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-vhost Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
oembed-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
offers Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
package-json Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
payments Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
portal Supported payment URL in Portal 2022-10-19 11:06:10 +07:00
referrers Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
security Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
session-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
settings-path-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
staff-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
stats-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
stripe Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
tiers Fixed add method for TiersAPI 2022-10-20 11:56:46 +07:00
update-check-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
verification-trigger Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
version-notifications-data-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00