mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
chore: eslint prefer-arrow-callback
This commit is contained in:
committed by
Julian Lam
parent
707b55b6a5
commit
b56d9e12b5
@@ -26,7 +26,7 @@ social.getPostSharing = async function () {
|
||||
];
|
||||
networks = await plugins.hooks.fire('filter:social.posts', networks);
|
||||
const activated = await db.getSetMembers('social:posts.activated');
|
||||
networks.forEach(function (network) {
|
||||
networks.forEach((network) => {
|
||||
network.activated = activated.includes(network.id);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user