0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Daniel Lockyer f2c074ac59 Fixed error when editing user with empty roles data
- we send the roles data array in when we're changing the role of the
  user
- if we send an empty array, we don't want to edit the user's role
- the code _thought_ that's what it was doing, but we only check the
  falsiness of the array, which is truthy for `[]`
- it also needs to check the length of the array
- this commit includes a test which would fail with a 500 error without
  the fix
2022-03-10 17:29:30 +00:00
..
client@f960615fe8 Updated Admin to v4.38.1 2022-03-09 08:59:59 +00:00
frontend Fixed typo 2022-03-10 10:43:14 +00:00
server Fixed error when editing user with empty roles data 2022-03-10 17:29:30 +00:00
shared Cleaned up labs flags for GA member filtering features 2022-03-10 16:47:00 +00:00
app.js
boot.js Added handler for unhandled rejections 2022-02-18 10:35:36 +01:00
bridge.js 💡 Pinned frontend API version to canary 2022-02-17 17:55:55 +00:00