Ghost/ghost/core/test
Rishabh Garg 0c743d67af
🐛 Fixed member newsletter subscription not saving in Admin (#16490)
fixes https://github.com/TryGhost/Team/issues/2783 
refs cb05fae5a3

The root cause of the issue was the fact we no longer checked for lack of `newsletters` property on member data before checking its `subscribed` property which is now deprecated. This caused a cascading effect where `subscribed:false` property on a member overrides the value for `newsletters` data. The check was accidentally removed in a previous bug fix.

So for members that were not subscribed to any newsletters, saving a newsletter subscription failed as they had their `subscribed` set to `false`, and it was resetting the newsletter subscription to empty always.
2023-03-24 23:29:49 +05:30
..
e2e-api 🐛 Fixed member newsletter subscription not saving in Admin (#16490) 2023-03-24 23:29:49 +05:30
e2e-browser Enable labs in playwright tests 2023-03-22 11:16:49 +00:00
e2e-frontend Added show_latest_posts column to newsletter table (#16402) 2023-03-20 11:10:49 +01:00
e2e-server Moved Milestone emails to GA 2023-03-23 17:35:23 +00:00
e2e-webhooks Added show_latest_posts column to newsletter table (#16402) 2023-03-20 11:10:49 +01:00
integration Fixed issue with email template in Outlook (#16486) 2023-03-24 14:54:16 +01:00
regression Added setting to store last mention report email date (#16399) 2023-03-15 15:34:41 +05:30
unit Added migration for Self-Serve Integration permissions 2023-03-24 11:31:25 +01:00
utils Added migration for Self-Serve Integration permissions 2023-03-24 11:31:25 +01:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00