diff --git a/src/socket.io/categories.js b/src/socket.io/categories.js index 016985935c..ae2378d73a 100644 --- a/src/socket.io/categories.js +++ b/src/socket.io/categories.js @@ -37,6 +37,8 @@ SocketCategories.getWatchedCategories = async function (socket) { }; SocketCategories.loadMore = async function (socket, data) { + sockets.warnDeprecated(socket, 'GET /api/v3/categories/:cid/topics'); + if (!data) { throw new Error('[[error:invalid-data]]'); }