diff --git a/core/server/api/canary/utils/serializers/output/products.js b/core/server/api/canary/utils/serializers/output/products.js index 8462067acb..97a23b49ab 100644 --- a/core/server/api/canary/utils/serializers/output/products.js +++ b/core/server/api/canary/utils/serializers/output/products.js @@ -75,6 +75,7 @@ function serializeProduct(product, options, apiType) { slug: json.slug, active: json.active, type: json.type, + welcome_page_url: json.welcome_page_url, created_at: json.created_at, updated_at: json.updated_at, stripe_prices: json.stripePrices ? json.stripePrices.map(price => serializeStripePrice(price, hideStripeData)) : null, @@ -164,6 +165,7 @@ function createSerializer(debugString, serialize) { * @prop {string} description * @prop {boolean} active * @prop {string} type + * @prop {string} welcome_page_url * @prop {Date} created_at * @prop {Date} updated_at * @prop {StripePrice[]} [stripe_prices] diff --git a/package.json b/package.json index 7c5106909f..64472ada8b 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@nexes/nql": "0.6.0", "@sentry/node": "6.17.3", "@tryghost/adapter-manager": "0.2.27", - "@tryghost/admin-api-schema": "2.7.0", + "@tryghost/admin-api-schema": "2.8.0", "@tryghost/bookshelf-plugins": "0.3.7", "@tryghost/bootstrap-socket": "0.2.16", "@tryghost/color-utils": "0.1.6", diff --git a/yarn.lock b/yarn.lock index 1034ed4293..48b386e09c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1128,10 +1128,10 @@ dependencies: "@tryghost/errors" "^1.2.1" -"@tryghost/admin-api-schema@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-2.7.0.tgz#eebe64987a9957d5c12224eaffbaee2feba960f9" - integrity sha512-Y+QDM/M6iV1uXDiQKNxh62e0tiqYQ/QK9pphY6PnNZOAWWMki9L/Oc2MsscfxyGBr0jAW8aDxsUGJObVGwS1Cg== +"@tryghost/admin-api-schema@2.8.0": + version "2.8.0" + resolved "https://registry.yarnpkg.com/@tryghost/admin-api-schema/-/admin-api-schema-2.8.0.tgz#5a069b962b49cf509b0a2f9f2d4defb99489de71" + integrity sha512-ATWhJ6QErOxwq3RIIg3HqABMk4OpwZVUjgJgDit3c8wR58qzikEsAPFqgg5kQcA/1xgC97TSynNPCGALYJQw1g== dependencies: "@tryghost/errors" "^0.2.10" lodash "^4.17.11"