Skip to content

Node.js based forum software built for the modern web

fix error in previous commit

TheBronx0bd48ef023b1
diff --git a/src/socket.io/posts.js b/src/socket.io/posts.js
index a040493942..fb67639c94 100644
--- a/src/socket.io/posts.js
+++ b/src/socket.io/posts.js
@@ -181,7 +181,7 @@ function favouriteCommand(socket, command, eventName, notification, data, callba
return callback(err);
}
- executeFavouriteCommand(socket, command, eventName, notification, filteredData, callback);
+ executeFavouriteCommand(socket, command, eventName, notification, filteredData.data, callback);
});
});
}