fix(style): requiring parens in block bodies

This commit is contained in:
Julian Lam
2019-08-13 14:36:15 -04:00
parent 0921230976
commit 29f96b199c
26 changed files with 35 additions and 35 deletions

View File

@@ -238,7 +238,7 @@ async function addTags(topicData, req, res) {
async function addOGImageTags(res, topicData, postAtIndex) {
const uploads = postAtIndex ? await posts.uploads.listWithSizes(postAtIndex.pid) : [];
const images = uploads.map(upload => {
const images = uploads.map((upload) => {
upload.name = nconf.get('url') + nconf.get('upload_url') + '/files/' + upload.name;
return upload;
});