FIX: modify notification after remove auto_watch_category (PR #10568)

When a category is removed from auto_watch_category we are removing CategoryUser. However, there are still TopicUser with notification level set to watching which was inherited from Category.

We should move them back to regular unless they were modified by a user.

GitHub

        CategoryUser.where(category_id: categories_to_unwatch, notification_level: notification_level).delete_all

Not related but the use of camelCase here is kind of odd…

good point, let me fix it since I am in that area :slight_smile:

Generally, I feel that it is a good practice to assert for the response of a request so that if the request does fail, it is easier to debug why.

LGTM :+1: