diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2016-03-29 18:36:16 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2016-06-03 03:56:40 +0200 |
commit | ae2c1fb77f498e0c92cbcb0a48fe6e7ecc9c14c4 (patch) | |
tree | 549d8a345cfcd53622019991ec3436f617186db6 /.eslintrc.json | |
parent | b9883a8e244d21f7caf00a794371dbe6b2e4e2ad (diff) | |
download | wekan-ae2c1fb77f498e0c92cbcb0a48fe6e7ecc9c14c4.tar.gz wekan-ae2c1fb77f498e0c92cbcb0a48fe6e7ecc9c14c4.tar.bz2 wekan-ae2c1fb77f498e0c92cbcb0a48fe6e7ecc9c14c4.zip |
Fix initial board creation
We cannot rely on the automatic userId setting of the collection hooks.
If a user is created during invitation, the userId field will contain
the id of the inviting user.
This fix this, by mocking the CollectionHooks.getUserId function and
returning the userId of the new user for all new documents after
creating the user.
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 939f7b46..87c2e2cf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -74,6 +74,7 @@ "Avatars": true, "BlazeComponent": false, "BlazeLayout": false, + "CollectionHooks": false, "DocHead": false, "ESSearchResults": false, "FastRender": false, |