summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-10-12 23:22:41 +0300
committerLauri Ojansivu <x@xet7.org>2018-10-12 23:22:41 +0300
commitde146f9aaf2f6e856ec46cb73e22137a2c605244 (patch)
treefba9afdb6bfd7bfe7b432d2c0055f921a889de42
parent25bb0bfa22a896e8eeff3f9712ccd9aa39bbba42 (diff)
downloadwekan-de146f9aaf2f6e856ec46cb73e22137a2c605244.tar.gz
wekan-de146f9aaf2f6e856ec46cb73e22137a2c605244.tar.bz2
wekan-de146f9aaf2f6e856ec46cb73e22137a2c605244.zip
- Fix lint errors.
Thanks to xet7 !
-rw-r--r--server/migrations.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/migrations.js b/server/migrations.js
index 86c95fbb..2ccda54d 100644
--- a/server/migrations.js
+++ b/server/migrations.js
@@ -344,9 +344,9 @@ Migrations.add('remove-tag', () => {
});
Migrations.add('remove-customFields-references-broken', () => {
- Cards.update(
- {'customFields.$value': null},
- {$pull: {customFields: {value: null}}},
- noValidateMulti,
- );
+ Cards.update({'customFields.$value': null},
+ { $pull: {
+ customFields: {value: null},
+ },
+ }, noValidateMulti);
});