mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
c9758112b3
closes https://github.com/TryGhost/Team/issues/1655 refs https://github.com/TryGhost/Ghost/commit/4bc14d2c4 - The API should always accept the input it returns. In this case it did not accept the input when it contained an unchanged roles property - The problem here came from the referenced commit where we can now end up in the situation when the `roleToAssign` is just empty. It was an optimization to prevent a need to do ANY DB operation when none was needed. |
||
---|---|---|
.. | ||
__snapshots__ | ||
actions.test.js | ||
config.test.js | ||
custom-theme-settings.test.js | ||
db.test.js | ||
email-previews.test.js | ||
emails.test.js | ||
files.test.js | ||
images.test.js | ||
integrations.test.js | ||
invites.test.js | ||
key-authentication.test.js | ||
labels.test.js | ||
media.test.js | ||
members-exporter.test.js | ||
members-importer.test.js | ||
members-newsletters.test.js | ||
members-stripe-connect.test.js | ||
members.test.js | ||
newsletters.test.js | ||
notifications.test.js | ||
oembed.test.js | ||
offers.test.js | ||
pages.test.js | ||
posts.test.js | ||
redirects.test.js | ||
roles.test.js | ||
session.test.js | ||
settings-files.test.js | ||
settings.test.js | ||
site.test.js | ||
slugs.test.js | ||
snippets.test.js | ||
stats.test.js | ||
tags.test.js | ||
themes.test.js | ||
tiers.test.js | ||
users.test.js | ||
utils.js | ||
webhooks.test.js |