From e03782f218178a45d139adbe971598aa9d253c9d Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 7 Jul 2021 09:33:24 -0400 Subject: [PATCH] fix(docs): #9648 --- src/socket.io/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/socket.io/user.js b/src/socket.io/user.js index 359058eb61..1d213600a2 100644 --- a/src/socket.io/user.js +++ b/src/socket.io/user.js @@ -148,7 +148,7 @@ SocketUser.saveSettings = async function (socket, data) { }; SocketUser.setTopicSort = async function (socket, sort) { - sockets.warnDeprecated(socket, 'PUT /api/v3/users/:uid/setting/topicPostSort'); + sockets.warnDeprecated(socket, 'PUT /api/v3/users/:uid/settings'); await api.users.updateSetting(socket, { uid: socket.uid, setting: 'topicPostSort', @@ -157,7 +157,7 @@ SocketUser.setTopicSort = async function (socket, sort) { }; SocketUser.setCategorySort = async function (socket, sort) { - sockets.warnDeprecated(socket, 'PUT /api/v3/users/:uid/setting/categoryTopicSort'); + sockets.warnDeprecated(socket, 'PUT /api/v3/users/:uid/settings'); await api.users.updateSetting(socket, { uid: socket.uid, setting: 'categoryTopicSort',