diff options
author | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-06-17 05:22:21 +0300 |
---|---|---|
committer | Ghassen Rjab <rjab.ghassen@gmail.com> | 2017-06-17 05:22:21 +0300 |
commit | ed2286623116cd5bef7cfe3765da965ba21f9bb4 (patch) | |
tree | 670ed63d49d6181431251353a17c5f93b66af5d3 /client | |
parent | d0d28749f152ce8f126d671e4a86c5785478ffdd (diff) | |
download | wekan-ed2286623116cd5bef7cfe3765da965ba21f9bb4.tar.gz wekan-ed2286623116cd5bef7cfe3765da965ba21f9bb4.tar.bz2 wekan-ed2286623116cd5bef7cfe3765da965ba21f9bb4.zip |
Fix Travis CI errors, again
Diffstat (limited to 'client')
-rw-r--r-- | client/components/boards/boardHeader.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js index 59691b96..06defbfa 100644 --- a/client/components/boards/boardHeader.js +++ b/client/components/boards/boardHeader.js @@ -17,13 +17,11 @@ Template.boardMenuPopup.events({ Template.boardMenuPopup.helpers({ exportUrl() { - const boardId = Session.get('currentBoard'); - const loginToken = Accounts._storedLoginToken(); - let params = { - "boardId": boardId, + const params = { + boardId: Session.get('currentBoard'), }; - let queryParams = { - "authToken": loginToken, + const queryParams = { + authToken: Accounts._storedLoginToken(), }; return FlowRouter.path('/api/boards/:boardId/export', params, queryParams); }, |