summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-08-29 01:56:01 +0300
committerLauri Ojansivu <x@xet7.org>2017-08-29 01:56:01 +0300
commitd55c952289e5a6484c3659702871a8afa93dd7a1 (patch)
tree953708d9b95a6fe4d5c4ffa91212a3ed2b814547
parentafc002d81ab9346b13e948cf3e50b84e511b3947 (diff)
downloadwekan-d55c952289e5a6484c3659702871a8afa93dd7a1.tar.gz
wekan-d55c952289e5a6484c3659702871a8afa93dd7a1.tar.bz2
wekan-d55c952289e5a6484c3659702871a8afa93dd7a1.zip
Standalone Export has modifiedAt missing, adding modifiedAt to fix it. Thanks to xet7 !
-rw-r--r--models/wekanCreator.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/wekanCreator.js b/models/wekanCreator.js
index 210fa1c0..36e5e1ca 100644
--- a/models/wekanCreator.js
+++ b/models/wekanCreator.js
@@ -140,6 +140,8 @@ export class WekanCreator {
isActive: true,
isCommentOnly: false,
}],
+ // Standalone Export has modifiedAt missing, adding modifiedAt to fix it
+ modifiedAt: this._now(wekanBoard.modifiedAt),
permission: wekanBoard.permission,
slug: getSlug(wekanBoard.title) || 'board',
stars: 0,