chore: eslint no-var, vars-on-top

This commit is contained in:
Peter Jaszkowiak
2021-02-04 00:06:15 -07:00
committed by Julian Lam
parent b56d9e12b5
commit dab3b23575
255 changed files with 1988 additions and 1995 deletions

View File

@@ -154,7 +154,7 @@ SocketPosts.getReplies = async function (socket, pid) {
const pids = await posts.getPidsFromSet(`pid:${pid}:replies`, 0, -1, false);
var [postData, postPrivileges] = await Promise.all([
let [postData, postPrivileges] = await Promise.all([
posts.getPostsByPids(pids, socket.uid),
privileges.posts.get(pids, socket.uid),
]);