From 3eb4d2c341b712268bd321173909e0a7b19a88c9 Mon Sep 17 00:00:00 2001 From: Justin Reynolds Date: Fri, 28 Jun 2019 12:52:09 -0500 Subject: Prettier & eslint project style update --- models/attachments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models/attachments.js') diff --git a/models/attachments.js b/models/attachments.js index 893b5aca..0616c79f 100644 --- a/models/attachments.js +++ b/models/attachments.js @@ -12,7 +12,7 @@ Attachments = new FS.Collection('attachments', { // XXX Should we use `beforeWrite` option of CollectionFS instead of // collection-hooks? // We should use `beforeWrite`. - beforeWrite: (fileObj) => { + beforeWrite: fileObj => { if (!fileObj.isImage()) { return { type: 'application/octet-stream', @@ -84,7 +84,7 @@ if (Meteor.isServer) { $unset: { source: '', }, - } + }, ); } }); -- cgit v1.2.3-1-g7c22