mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 14:08:31 -04:00
Fix lint errors
This commit is contained in:
parent
2e845a5134
commit
181af6f250
1 changed files with 3 additions and 2 deletions
|
@ -16,9 +16,10 @@ Attachments = new FS.Collection('attachments', {
|
|||
beforeWrite: (fileObj) => {
|
||||
if (!fileObj.isImage()) {
|
||||
return {
|
||||
type: 'application/octet-stream'
|
||||
type: 'application/octet-stream',
|
||||
};
|
||||
}
|
||||
return {};
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
@ -70,7 +71,7 @@ if (Meteor.isServer) {
|
|||
} else {
|
||||
// Don't add activity about adding the attachment as the activity
|
||||
// be imported and delete source field
|
||||
Attachments.update( {_id: doc._id} , {$unset: { source : "" } } );
|
||||
Attachments.update( {_id: doc._id}, {$unset: { source : '' } } );
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue