mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 09:52:09 +03:00
b2051dacf7
fixes #6919, refs #6917 - resolves the problem by guarding for `tags` being undefined or null - If it is undefined, we don't do any tag processing - If it is null, we don't do any tag processing - To delete all tags, you would provide `tags: []` - adds tests at both the model (using withRelated) and API (using includes) layers - moves the tests for the post updateTags functionality from the tag model spec to the post model spec & cleans up a bit |
||
---|---|---|
.. | ||
base | ||
plugins | ||
accesstoken.js | ||
app-field.js | ||
app-setting.js | ||
app.js | ||
client-trusted-domain.js | ||
client.js | ||
index.js | ||
permission.js | ||
post.js | ||
refreshtoken.js | ||
role.js | ||
settings.js | ||
subscriber.js | ||
tag.js | ||
user.js |