mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-19 19:19:43 +02:00
refactor: remove /users/{uid}/settings/{setting} route
@baris Also, I am now allowing the following properties to be saved in User.saveSettings: - categoryTopicSort - topicPostSort - setCategorySort - setTopicSort
This commit is contained in:
@@ -121,6 +121,10 @@ module.exports = function (User) {
|
||||
upvoteNotifFreq: data.upvoteNotifFreq,
|
||||
bootswatchSkin: data.bootswatchSkin,
|
||||
categoryWatchState: data.categoryWatchState,
|
||||
categoryTopicSort: data.categoryTopicSort,
|
||||
topicPostSort: data.topicPostSort,
|
||||
setCategorySort: data.setCategorySort,
|
||||
setTopicSort: data.setTopicSort,
|
||||
};
|
||||
const notificationTypes = await notifications.getAllNotificationTypes();
|
||||
notificationTypes.forEach(function (notificationType) {
|
||||
|
||||
Reference in New Issue
Block a user