mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fixing category admin panel integration
This commit is contained in:
@@ -891,7 +891,7 @@ module.exports.init = function(io) {
|
||||
});
|
||||
|
||||
socket.on('api:admin.categories.create', function(data, callback) {
|
||||
admin.categories.create(data, function(err, data) {
|
||||
categories.create(data, function(err, data) {
|
||||
callback(err, data);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user