mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
closes https://github.com/TryGhost/Zapier/issues/56 - fixes tag creation when creating posts with `tags: [{slug: 'new'}]` which should be supported - assigning tags with only `{slug: 'new'}` was triggering our validation for the required `name` property then bubbling up to the `bookshelf-relations` library resulting in a 500 error - the fix applied here is to set the `name` field to the same as the `slug` field if a name is not provided |
||
---|---|---|
.. | ||
base | ||
relations | ||
action.js | ||
api-key.js | ||
author.js | ||
benefit.js | ||
custom-theme-setting.js | ||
email-batch.js | ||
email-recipient.js | ||
email.js | ||
index.js | ||
integration.js | ||
invite.js | ||
label.js | ||
member-analytic-event.js | ||
member-email-change-event.js | ||
member-login-event.js | ||
member-paid-subscription-event.js | ||
member-payment-event.js | ||
member-product-event.js | ||
member-status-event.js | ||
member-stripe-customer.js | ||
member-subscribe-event.js | ||
member.js | ||
mobiledoc-revision.js | ||
offer-redemption.js | ||
offer.js | ||
permission.js | ||
post.js | ||
posts-meta.js | ||
product.js | ||
role.js | ||
session.js | ||
settings.js | ||
single-use-token.js | ||
snippet.js | ||
stripe-customer-subscription.js | ||
stripe-price.js | ||
stripe-product.js | ||
tag-public.js | ||
tag.js | ||
user.js | ||
webhook.js |