summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/export.js1
-rw-r--r--models/import.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/models/export.js b/models/export.js
index 21710067..f7f2b713 100644
--- a/models/export.js
+++ b/models/export.js
@@ -17,7 +17,6 @@ if (Meteor.isServer) {
JsonRoutes.add('get', '/api/boards/:boardId/export', function(req, res) {
- console.error("LOGG API");
const boardId = req.params.boardId;
let user = null;
// todo XXX for real API, first look for token in Authentication: header
diff --git a/models/import.js b/models/import.js
index c73959b7..bf3a863e 100644
--- a/models/import.js
+++ b/models/import.js
@@ -39,6 +39,7 @@ Meteor.methods({
let addData = {};
addData.membersMapping = wekanMembersMapper.getMembersToMap(data);
const creator = new WekanCreator(addData);
+ data.title = data.title + " - " + TAPi18n.__('copy-tag');
return creator.create(data, currentBoardId);
},
});